Don't cancel handler

This commit is contained in:
Ghost_chu committed 2021-07-27 23:58:27 +08:00
1 parent b3d90503bb
commit 49c393a6f8
2 files changed
+1 -2

No files matched your search

@@ -266,7 +266,6 @@ public class VirtualDisplayItem extends DisplayItem {
private void unload() {
packetSenders.clear();
if (packetAdapter != null) {
asyncListenerHandler.cancel();
asyncListenerHandler.stop();
protocolManager.getAsynchronousManager().unregisterAsyncHandler(packetAdapter);
//protocolManager.removePacketListener(packetAdapter);
@@ -372,7 +372,7 @@ public class RollbarErrorReporter {
return true;
}
if (possiblyLevel == PossiblyLevel.MAYBE) {
plugin.getLogger().warning("This seems not a QuickShop. If you have any question, you should ask QuickShop developer.");
plugin.getLogger().warning("This seems not a QuickShop error. If you have any question, you should ask QuickShop developer.");
return true;
}
return false;