From b692fa52cf9587a1dd107f99a35ecdaf078afa4a Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 1 Dec 2024 21:59:41 +1300 Subject: [PATCH] whoops --- .../java/me/libraryaddict/disguise/disguisetypes/Disguise.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java index 6e51c12c..1a97d2de 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -52,6 +52,7 @@ import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.Random; import java.util.UUID; import java.util.concurrent.TimeUnit; @@ -855,7 +856,7 @@ public abstract class Disguise { // If this disguise hasn't a entity set if (getEntity() == null) { // Loop through the disguises because it could be used with a unknown entity id. - HashMap> future = DisguiseUtilities.getFutureDisguises(); + Map> future = DisguiseUtilities.getFutureDisguises(); DisguiseUtilities.getFutureDisguises().keySet().removeIf(id -> future.get(id).remove(this) && future.get(id).isEmpty());