From 03a5a55974d294ceadcef80b82b95e339dd6d175 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 1 Sep 2024 09:57:51 -0500 Subject: [PATCH] remove NPC slot error spam onboot --- src/engine/gameManager/NPCManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/NPCManager.java b/src/engine/gameManager/NPCManager.java index 11deb263..5da96eb8 100644 --- a/src/engine/gameManager/NPCManager.java +++ b/src/engine/gameManager/NPCManager.java @@ -340,8 +340,8 @@ public enum NPCManager { else buildingSlot = BuildingManager.getAvailableSlot(abstractCharacter.building); - if (buildingSlot == -1) - Logger.error("No available slot for NPC: " + abstractCharacter.getObjectUUID()); + //if (buildingSlot == -1) + //Logger.error("No available slot for NPC: " + abstractCharacter.getObjectUUID()); abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot);