|
|
|
@ -1518,6 +1518,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1518,6 +1518,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
@Override |
|
|
|
|
public void runAfterLoad() { |
|
|
|
|
|
|
|
|
|
this.setObjectTypeMask(MBServerStatics.MASK_MOB | this.getTypeMasks()); |
|
|
|
|
|
|
|
|
|
this.charItemManager = new CharacterItemManager(this); |
|
|
|
|
|
|
|
|
|
if (ConfigManager.serverType.equals(ServerType.LOGINSERVER)) |
|
|
|
@ -1525,7 +1527,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1525,7 +1527,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
|
|
|
|
|
this.mobBase = MobBase.getMobBase(loadID); |
|
|
|
|
|
|
|
|
|
this.setObjectTypeMask(MBServerStatics.MASK_MOB | this.getTypeMasks()); |
|
|
|
|
this.building = BuildingManager.getBuilding(this.buildingUUID); |
|
|
|
|
|
|
|
|
|
// Configure AI related values
|
|
|
|
|
|
|
|
|
@ -1550,8 +1552,6 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1550,8 +1552,6 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
if (this.behaviourType == null) |
|
|
|
|
this.behaviourType = MobBehaviourType.None; |
|
|
|
|
|
|
|
|
|
this.building = BuildingManager.getBuilding(this.buildingUUID); |
|
|
|
|
|
|
|
|
|
if (this.contractUUID == 0) |
|
|
|
|
this.contract = null; |
|
|
|
|
else |
|
|
|
|