From 79980a172596ffe0b14df1b2a0b71c85bc6df414 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 06:45:34 -0400 Subject: [PATCH] NoID constructor removed. --- src/engine/objects/Mob.java | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 8b84ae82..5a0430b4 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -99,35 +99,6 @@ public class Mob extends AbstractIntelligenceAgent { this.currentID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; } - /** - * No Id 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, 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); - - this.dbID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; - this.loadID = npcType; - this.mobBase = MobBase.getMobBase(loadID); - this.dbID = MBServerStatics.NO_DB_ROW_ASSIGNED_YET; - this.parentZone = parent; - this.parentZoneUUID = (parent != null) ? parent.getObjectUUID() : 0; - this.building = building; - - if (building != null) - this.buildingUUID = building.getObjectUUID(); - else - this.buildingUUID = 0; - - if (contractID == 0) - this.contract = null; - else - this.contract = DbManager.ContractQueries.GET_CONTRACT(contractID); - if (building != null && building.getOwner() != null) { - this.lastName = "the " + contract.getName(); - } - - } - /** * Pet Constructor */