summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2011-09-24 19:18:22 +0100
committerElgarL <ElgarL@palmergames.com>2011-09-24 19:18:22 +0100
commit2db256678ec1412a0e76bae88bd07a44f21a8139 (patch)
tree8c15855e5e3d03e48c9207c9be2ba4259165cf93 /EssentialsGroupManager
parenta2ca381bbd2f0621d7da444fceac1d7c720b34ac (diff)
downloadEssentials-2db256678ec1412a0e76bae88bd07a44f21a8139.tar
Essentials-2db256678ec1412a0e76bae88bd07a44f21a8139.tar.gz
Essentials-2db256678ec1412a0e76bae88bd07a44f21a8139.tar.lz
Essentials-2db256678ec1412a0e76bae88bd07a44f21a8139.tar.xz
Essentials-2db256678ec1412a0e76bae88bd07a44f21a8139.zip
Fix for if the scheduler fails
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index cc7f1de50..13d99ddc1 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -105,6 +105,8 @@ public class GroupManager extends JavaPlugin {
if (getServer().getScheduler().scheduleSyncDelayedTask(this, new BukkitPermsUpdateTask(),1) == -1)
GroupManager.logger.severe("Could not schedule superperms Update.");
+ else
+ setLoaded(true);
//setLoaded(true);
System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!");