diff --git a/src/com/cnaude/chairs/Chairs.java b/src/com/cnaude/chairs/Chairs.java index ac4bd0e..b1242b7 100644 --- a/src/com/cnaude/chairs/Chairs.java +++ b/src/com/cnaude/chairs/Chairs.java @@ -70,7 +70,7 @@ public class Chairs extends JavaPlugin { @Override public void onDisable() { - protocolManager.removePacketListeners(this); + protocolManager.getAsynchronousManager().unregisterAsyncHandlers(this); protocolManager = null; for (String pName : new HashSet(sit.keySet())) { ejectPlayerOnDisable(Bukkit.getPlayerExact(pName)); diff --git a/target/Chairs.jar b/target/Chairs.jar index 6da1231..a25c72f 100644 Binary files a/target/Chairs.jar and b/target/Chairs.jar differ