Attempt to fix the permissions issues.

This commit is contained in:
Garbage Mule 2011-12-12 03:09:49 +01:00
parent bc33ed5824
commit e7c66be183
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -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()