diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 49adb9f4..45a518cd 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -100,6 +100,7 @@ public class Mob extends AbstractIntelligenceAgent { // New Mobile constructor. Fill in the blanks and then call // PERSIST. public Mob() { + super(); this.dbID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; this.currentID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; } @@ -133,26 +134,6 @@ public class Mob extends AbstractIntelligenceAgent { clearStatic(); } - /** - * Normal Constructor - */ - public Mob(String firstName, String lastName, short statStrCurrent, short statDexCurrent, short statConCurrent, short statIntCurrent, short statSpiCurrent, short level, int exp, boolean sit, boolean walk, boolean combat, Vector3fImmutable bindLoc, Vector3fImmutable currentLoc, Vector3fImmutable faceDir, short healthCurrent, short manaCurrent, short stamCurrent, Guild guild, byte runningTrains, int npcType, boolean isMob, Zone parent, int newUUID, Building building, int contractID) { - super(firstName, lastName, statStrCurrent, statDexCurrent, statConCurrent, statIntCurrent, statSpiCurrent, level, exp, sit, walk, combat, bindLoc, currentLoc, faceDir, healthCurrent, manaCurrent, stamCurrent, guild, runningTrains, newUUID); - this.dbID = newUUID; - this.loadID = npcType; - - if (contractID == 0) - this.contract = null; - else - this.contract = DbManager.ContractQueries.GET_CONTRACT(contractID); - - this.mobBase = MobBase.getMobBase(loadID); - this.parentZone = parent; - this.parentZoneID = (parent != null) ? parent.getObjectUUID() : 0; - this.building = building; - clearStatic(); - } - /** * Pet Constructor */ diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index 1e6d2f83..338d84c6 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -86,6 +86,7 @@ public class NPC extends AbstractCharacter { public NPC() { + super(); this.dbID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; this.currentID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; }