Browse Source

remove NPC slot error spam onboot

lakebane-strongholds
FatBoy-DOTC 4 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 {
else else
buildingSlot = BuildingManager.getAvailableSlot(abstractCharacter.building); buildingSlot = BuildingManager.getAvailableSlot(abstractCharacter.building);
if (buildingSlot == -1) //if (buildingSlot == -1)
Logger.error("No available slot for NPC: " + abstractCharacter.getObjectUUID()); //Logger.error("No available slot for NPC: " + abstractCharacter.getObjectUUID());
abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot); abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot);

Loading…
Cancel
Save