Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
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