mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-03 01:19:58 +01:00
Clear our attachment map upon a manload so we correctly reconfigure a
players new permissions.
This commit is contained in:
parent
f210f8e20b
commit
27ff43c0ac
@ -204,3 +204,4 @@ v 2.0:
|
||||
- allWorldsDataList now returns fully mirrored worlds which are not identical mirrors (fixes the /manselect list).
|
||||
- Add support for Rcon.
|
||||
- Prevent GM commands from being used on CommandBlocks.
|
||||
- Clear our attachment map upon a manload so we correctly reconfigure a players new permissions.
|
@ -1697,7 +1697,7 @@ public class GroupManager extends JavaPlugin {
|
||||
|
||||
isLoaded = true;
|
||||
|
||||
BukkitPermissions.updateAllPlayers();
|
||||
BukkitPermissions.reset();
|
||||
|
||||
} else {
|
||||
|
||||
|
@ -103,6 +103,8 @@ public class BukkitPermissions {
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
attachments = new WeakHashMap<String, PermissionAttachment>();
|
||||
|
||||
this.collectPermissions();
|
||||
this.updateAllPlayers();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user