forked from upstream/ProAntiTab
Additional group-update check
This commit is contained in:
1 parent
6219c7ce9a
commit
607ee2a6c8
1 file changed
+6
-1
@@ -24,8 +24,13 @@ public class PermissionUtil {
|
||||
}
|
||||
|
||||
public static void reloadPermissions(UUID uuid) {
|
||||
MAP.get(uuid).clear();
|
||||
resetPermissions(uuid);
|
||||
setPlayerPermissions(uuid);
|
||||
|
||||
CommandSender sender = CommandSenderHandler.getSenderFromUUID(uuid);
|
||||
if (sender != null) {
|
||||
sender.updateGroups();
|
||||
}
|
||||
}
|
||||
|
||||
public static void reloadPermissions(CommandSender sender) {
|
||||
|
||||
Reference in new issue
Block a user