diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-11-17 14:28:33 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-11-17 14:28:33 +0000 |
commit | 7b7d1f557f193599222ca90e74a967b3c7c0fe3c (patch) | |
tree | 2073e5e0a7975e345e03a11680f8c5dae05bc7d5 /EssentialsGroupManager/src/org/anjocaido | |
parent | 022f7ab1d45492ce5cebba077cb4ffad8c637e9b (diff) | |
download | Essentials-7b7d1f557f193599222ca90e74a967b3c7c0fe3c.tar Essentials-7b7d1f557f193599222ca90e74a967b3c7c0fe3c.tar.gz Essentials-7b7d1f557f193599222ca90e74a967b3c7c0fe3c.tar.lz Essentials-7b7d1f557f193599222ca90e74a967b3c7c0fe3c.tar.xz Essentials-7b7d1f557f193599222ca90e74a967b3c7c0fe3c.zip |
Fixed a crash on reload due to bukkit not unloading plugins before
reloading.
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 3 |
1 files changed, 3 insertions, 0 deletions
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); |