Skip to content

Commit 05bfc4c

Browse files
fix: try removing attachment and fail silently if not attached (#3089)
fix: try removing attachment and fail silently if not attached to registered permissible
1 parent 3820cdb commit 05bfc4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/BukkitPermissionAttachmentManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void removeAttachment(@Nullable final Player p) {
3838
}
3939
PermissionAttachment attach = attachments.remove(p);
4040
if (attach != null) {
41-
p.removeAttachment(attach);
41+
attach.remove();
4242
}
4343
}
4444

0 commit comments

Comments
 (0)