mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Resolves #1377
Without clearing the permissions cache, permissions that are removed will not be removed from the cache until reboot as they stay in the map.
This commit is contained in:
parent
55a0705826
commit
c08a1ccddb
@ -175,6 +175,7 @@ public class PermissionManager {
|
||||
if (permissions == null) {
|
||||
permissions = getAll(player);
|
||||
} else {
|
||||
permissions.clear();
|
||||
permissions.putAll(getAll(player));
|
||||
}
|
||||
jPlayer.setPermissionsCache(permissions);
|
||||
|
Loading…
Reference in New Issue
Block a user