mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-18 13:31:30 +01:00
Fixed NPE
This commit is contained in:
parent
422518ea4e
commit
d71430435b
BIN
MobArena.jar
BIN
MobArena.jar
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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user