Browse Source

more old hireling code removed.

master
MagicBot 2 years ago
parent
commit
b9722ec292
  1. 10
      src/engine/gameManager/BuildingManager.java

10
src/engine/gameManager/BuildingManager.java

@ -505,10 +505,8 @@ public enum BuildingManager { @@ -505,10 +505,8 @@ public enum BuildingManager {
if (mob == null)
return false;
mob.setRank(rank);
mob.setPlayerGuard(true);
mob.BehaviourType = Enum.MobBehaviourType.GuardWallArcher;
MovementManager.translocate(mob, mob.getBindLoc(), mob.region);
WorldGrid.addObject(mob, contractOwner);
return true;
}
@ -519,8 +517,8 @@ public enum BuildingManager { @@ -519,8 +517,8 @@ public enum BuildingManager {
if (mob == null)
return false;
mob.setRank(rank);
mob.setPlayerGuard(true);
WorldGrid.addObject(mob, contractOwner);
return true;
}

Loading…
Cancel
Save