Fixed NPE

This commit is contained in:
Garbage Mule 2011-08-23 10:30:16 +02:00
parent 422518ea4e
commit d71430435b
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -713,6 +713,8 @@ public class Arena
public void removeClassPermissions(Player p)
{
if (attachments.get(p) == null) return;
for (PermissionAttachment pa : attachments.get(p))
pa.remove();
}