forked from MagicBane/Server
Siege engines use slot system.
This commit is contained in:
@@ -1731,7 +1731,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
// with the exceptions being mobiles
|
// with the exceptions being mobiles
|
||||||
// with a contract.
|
// with a contract.
|
||||||
|
|
||||||
if (this.contract != null)
|
if (this.contract != null || this.behaviourType.equals(MobBehaviourType.SiegeEngine))
|
||||||
NPCManager.slotCharacterInBuilding(this);
|
NPCManager.slotCharacterInBuilding(this);
|
||||||
else
|
else
|
||||||
this.bindLoc = building.getLoc().add(bindLoc);
|
this.bindLoc = building.getLoc().add(bindLoc);
|
||||||
|
|||||||
Reference in New Issue
Block a user