From 50f07f4ad7e0ebca77a38b3ea4630443388cc2fa Mon Sep 17 00:00:00 2001 From: ElgarL Date: Thu, 17 Nov 2011 14:28:33 +0000 Subject: Fixed a crash on reload due to bukkit not unloading plugins before reloading. --- .../src/org/anjocaido/groupmanager/GroupManager.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java') diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index d2d8d3b27..d8b7a15e1 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -130,6 +130,9 @@ public class GroupManager extends JavaPlugin { throw new IllegalStateException("An error ocurred while loading GroupManager"); } + // Set a few defaults (reloads) + setLoaded(false); + // Initialize the world listener and bukkit permissions to handle // events. WorldEvents = new GMWorldListener(this); -- cgit v1.2.3