summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src/org/anjocaido/groupmanager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2011-09-24 02:53:38 +0100
committerElgarL <ElgarL@palmergames.com>2011-09-24 02:53:38 +0100
commitb0fe18915694ad92102e78a1ba477aab34e1059e (patch)
treee17bc47f9ac8ae56f507e24cb363fb50a2b66639 /EssentialsGroupManager/src/org/anjocaido/groupmanager
parent8103e822ed54d8ade9fbacf06f8cd9220ee12a87 (diff)
downloadEssentials-b0fe18915694ad92102e78a1ba477aab34e1059e.tar
Essentials-b0fe18915694ad92102e78a1ba477aab34e1059e.tar.gz
Essentials-b0fe18915694ad92102e78a1ba477aab34e1059e.tar.lz
Essentials-b0fe18915694ad92102e78a1ba477aab34e1059e.tar.xz
Essentials-b0fe18915694ad92102e78a1ba477aab34e1059e.zip
Fixed wasteful updating of perms on a manload.
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index b56d42122..52b67c57c 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -1423,9 +1423,14 @@ public class GroupManager extends JavaPlugin {
auxString += " ";
}
}
+
+ isLoaded = false; // Disable Bukkit Perms update
+
worldsHolder.loadWorld(auxString);
sender.sendMessage("The request to world '" + auxString + "' was sent.");
+ isLoaded = true;
+
BukkitPermissions.updateAllPlayers();
return true;