geforkt von Mirrors/FastAsyncWorldEdit
Don't error when NPC-annotated "entity" leaves the server (#1969)
fix: no need to remove never-added attachment
Dieser Commit ist enthalten in:
Ursprung
292d9f2439
Commit
598cd6ba19
@ -36,10 +36,6 @@ public class BukkitPermissionAttachmentManager {
|
||||
if (p == null) {
|
||||
return;
|
||||
}
|
||||
if (p.hasMetadata("NPC") && noopAttachment != null) {
|
||||
p.removeAttachment(noopAttachment);
|
||||
return;
|
||||
}
|
||||
PermissionAttachment attach = attachments.remove(p);
|
||||
if (attach != null) {
|
||||
p.removeAttachment(attach);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren