Browse Source

5th hireling in r8 ToL

lakebane
FatBoy-DOTC 1 week ago
parent
commit
e912c24025
  1. 2
      src/engine/net/client/handlers/ActivateNPCMsgHandler.java

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

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

Loading…
Cancel
Save