Browse Source

new NPC for ToL support

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
b6760d0775
  1. 2
      src/engine/net/client/handlers/ActivateNPCMsgHandler.java

2
src/engine/net/client/handlers/ActivateNPCMsgHandler.java

@ -93,7 +93,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { @@ -93,7 +93,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
return false;
}
if (building.getBlueprint().getMaxSlots() == building.getHirelings().size())
if (building.getBlueprint().getSlotsForRank(building.getRank()) == building.getHirelings().size())
return false;
Item contractItem = Item.getFromCache(msg.getContractItem());

Loading…
Cancel
Save