Fixed NPE
This commit is contained in:
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