From 7c0f2563f7523de6b914ae204147ca64d2eb9be4 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 4 Sep 2023 13:09:32 -0400 Subject: [PATCH] Already added to collection at this point. --- src/engine/net/client/handlers/MinionTrainingMsgHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/MinionTrainingMsgHandler.java b/src/engine/net/client/handlers/MinionTrainingMsgHandler.java index a60793cb..8d4f62f9 100644 --- a/src/engine/net/client/handlers/MinionTrainingMsgHandler.java +++ b/src/engine/net/client/handlers/MinionTrainingMsgHandler.java @@ -273,7 +273,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { if (toCreate == null) return true; - if (!DbManager.MobQueries.ADD_TO_GUARDS(npc.getObjectUUID(), mobBase, pirateName, npc.getSiegeMinionMap().size() + 1)) + if (!DbManager.MobQueries.ADD_TO_GUARDS(npc.getObjectUUID(), mobBase, pirateName, npc.getSiegeMinionMap().size())) return true; if (toCreate != null) {