mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +01:00
commit
a0ed0d703a
@ -175,6 +175,7 @@ public class PermissionManager {
|
|||||||
if (permissions == null) {
|
if (permissions == null) {
|
||||||
permissions = getAll(player);
|
permissions = getAll(player);
|
||||||
} else {
|
} else {
|
||||||
|
permissions.clear();
|
||||||
permissions.putAll(getAll(player));
|
permissions.putAll(getAll(player));
|
||||||
}
|
}
|
||||||
jPlayer.setPermissionsCache(permissions);
|
jPlayer.setPermissionsCache(permissions);
|
||||||
|
Loading…
Reference in New Issue
Block a user