Unused constructor removed.

This commit is contained in:
2023-08-25 11:37:56 -04:00
parent 22e4cc07c0
commit 29e24bae93
2 changed files with 2 additions and 20 deletions
+1 -20
View File
@@ -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
*/
+1
View File
@@ -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;
}