Fixed NPE
This commit is contained in:
1 parent
422518ea4e
commit
d71430435b
2 files changed
+2
No files matched your search
Binary file not shown.
@@ -713,6 +713,8 @@ public class Arena
|
|||||||
|
|
||||||
public void removeClassPermissions(Player p)
|
public void removeClassPermissions(Player p)
|
||||||
{
|
{
|
||||||
|
if (attachments.get(p) == null) return;
|
||||||
|
|
||||||
for (PermissionAttachment pa : attachments.get(p))
|
for (PermissionAttachment pa : attachments.get(p))
|
||||||
pa.remove();
|
pa.remove();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user