From 6fbdcc9855d9c1878ea0625ae1fb036148a63f53 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 26 Jun 2020 16:03:50 +1200 Subject: [PATCH] Fix index error --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 54872328..f14fd882 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -1288,7 +1288,7 @@ public class DisguiseUtilities { if (disguise.getEntity() != null) { synchronized (isNoInteract) { - isNoInteract.remove(disguise.getEntity().getEntityId()); + isNoInteract.remove((Object) disguise.getEntity().getEntityId()); } } }