Fixed wasteful updating of perms on a manload.

This commit is contained in:
ElgarL 2011-09-24 02:53:38 +01:00
parent 8103e822ed
commit b0fe189156
2 changed files with 7 additions and 1 deletions

View file

@ -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.
- Fix for null in PLAYER_TELEPORT for bukkit perms.
- Fixed wasteful updating of perms on a manload.

View file

@ -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;