Browse Source

remove NPC slot error spam onboot

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
03a5a55974
  1. 4
      src/engine/gameManager/NPCManager.java

4
src/engine/gameManager/NPCManager.java

@ -340,8 +340,8 @@ public enum NPCManager { @@ -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);

Loading…
Cancel
Save