From d71a9415b4a46564f96498a29f5a3323f9e51402 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 4 Sep 2023 15:09:51 -0400 Subject: [PATCH] Integer object not int signature. --- src/engine/net/client/handlers/MinionTrainingMsgHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/net/client/handlers/MinionTrainingMsgHandler.java b/src/engine/net/client/handlers/MinionTrainingMsgHandler.java index 09356688..fda1da21 100644 --- a/src/engine/net/client/handlers/MinionTrainingMsgHandler.java +++ b/src/engine/net/client/handlers/MinionTrainingMsgHandler.java @@ -61,7 +61,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { if (!npc.minions.contains(toRemove.getObjectUUID())) return true; - npc.minions.remove(toRemove.getObjectUUID()); + npc.minions.remove(Integer.valueOf(toRemove.getObjectUUID())); WorldGrid.RemoveWorldObject(toRemove); @@ -185,7 +185,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { if (!DbManager.MobQueries.REMOVE_FROM_GUARDS(npc.getObjectUUID(), toRemove.firstName)) return true; - npc.minions.remove(toRemove.getObjectUUID()); + npc.minions.remove(Integer.valueOf(toRemove.getObjectUUID())); WorldGrid.RemoveWorldObject(toRemove);