mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 14:38:58 +00:00
Fix error in onDisable()
This commit is contained in:
1 parent
b66d431a51
commit
287b8a0ab1
1 file changed
+2
@@ -84,8 +84,10 @@ public class Chat extends JavaPlugin {
|
|||||||
unregisterPermissions();
|
unregisterPermissions();
|
||||||
// reset any handles
|
// reset any handles
|
||||||
irc = null;
|
irc = null;
|
||||||
|
if (craftIRC != null) {
|
||||||
craftIRC.unregisterEndPoint("towny");
|
craftIRC.unregisterEndPoint("towny");
|
||||||
craftIRC = null;
|
craftIRC = null;
|
||||||
|
}
|
||||||
dynMap = null;
|
dynMap = null;
|
||||||
heroicDeathListener= null;
|
heroicDeathListener= null;
|
||||||
towny = null;
|
towny = null;
|
||||||
|
|||||||
Reference in new issue
Block a user