diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-09-24 02:53:38 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-09-24 02:53:38 +0100 |
commit | b0fe18915694ad92102e78a1ba477aab34e1059e (patch) | |
tree | e17bc47f9ac8ae56f507e24cb363fb50a2b66639 | |
parent | 8103e822ed54d8ade9fbacf06f8cd9220ee12a87 (diff) | |
download | Essentials-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.
-rw-r--r-- | EssentialsGroupManager/src/Changelog.txt | 3 | ||||
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt index 388fc938a..232a35e1a 100644 --- a/EssentialsGroupManager/src/Changelog.txt +++ b/EssentialsGroupManager/src/Changelog.txt @@ -14,4 +14,5 @@ v 1.1: - All GroupManager commands issued by players are now echoed in the console.
- Reverted WorldHolder static change to maintain backward plugin compatibility.
- Update to handle 'getDescription().getPermissions(') returning a list (CB 1172).
- - Fix for null in PLAYER_TELEPORT for bukkit perms.
\ No newline at end of file + - Fix for null in PLAYER_TELEPORT for bukkit perms.
+ - Fixed wasteful updating of perms on a manload.
\ No newline at end of file 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; |