Browse Source

new NPC for ToL support

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

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

@ -126,7 +126,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
return false; return false;
// Check if contract can be slotted in this building // Check if contract can be slotted in this building
Logger.error("inserting contract: " + contract.getContractID());
if (contract.canSlotinBuilding(building) == false) { if (contract.canSlotinBuilding(building) == false) {
boolean override = false; boolean override = false;
if (building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.TOL)) { if (building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.TOL)) {

Loading…
Cancel
Save