mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-27 18:02:34 +01:00
Attempt to fix the permissions issues.
This commit is contained in:
parent
bc33ed5824
commit
e7c66be183
BIN
MobArena.jar
BIN
MobArena.jar
Binary file not shown.
@ -720,6 +720,8 @@ public class ArenaStandard extends Arena
|
||||
attachments.put(p,pa);
|
||||
for (Map.Entry<String,Boolean> entry : perms.entrySet())
|
||||
pa.setPermission(entry.getKey(), entry.getValue());
|
||||
|
||||
p.recalculatePermissions();
|
||||
}
|
||||
|
||||
public void removeClassPermissions(Player p)
|
||||
@ -728,6 +730,8 @@ public class ArenaStandard extends Arena
|
||||
|
||||
for (PermissionAttachment pa : attachments.values())
|
||||
if (pa != null) pa.remove();
|
||||
|
||||
p.recalculatePermissions();
|
||||
}
|
||||
|
||||
private void cleanup()
|
||||
|
Loading…
Reference in New Issue
Block a user