mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-12 05:08:48 +00:00
Fixed wasteful updating of perms on a manload.
This commit is contained in:
parent
8103e822ed
commit
b0fe189156
|
@ -15,3 +15,4 @@ v 1.1:
|
||||||
- Reverted WorldHolder static change to maintain backward plugin compatibility.
|
- Reverted WorldHolder static change to maintain backward plugin compatibility.
|
||||||
- Update to handle 'getDescription().getPermissions(') returning a list (CB 1172).
|
- 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.
|
|
@ -1423,9 +1423,14 @@ public class GroupManager extends JavaPlugin {
|
||||||
auxString += " ";
|
auxString += " ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isLoaded = false; // Disable Bukkit Perms update
|
||||||
|
|
||||||
worldsHolder.loadWorld(auxString);
|
worldsHolder.loadWorld(auxString);
|
||||||
sender.sendMessage("The request to world '" + auxString + "' was sent.");
|
sender.sendMessage("The request to world '" + auxString + "' was sent.");
|
||||||
|
|
||||||
|
isLoaded = true;
|
||||||
|
|
||||||
BukkitPermissions.updateAllPlayers();
|
BukkitPermissions.updateAllPlayers();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue