Logging of invalid contracts

This commit is contained in:
2023-06-26 18:45:40 -04:00
parent bea82d80f2
commit 7d1d1e19d2
+1 -2
View File
@@ -171,11 +171,10 @@ public class NPC extends AbstractCharacter {
this.currentID = this.dbID;
this.setObjectTypeMask(MBServerStatics.MASK_NPC);
int contractID = rs.getInt("npc_contractID");
this.contract = DbManager.ContractQueries.GET_CONTRACT(contractID);
this.parentZoneID = rs.getInt("parent");
this.gridObjectType = GridObjectType.STATIC;
this.contract = DbManager.ContractQueries.GET_CONTRACT(contractID);
this.equipmentSetID = rs.getInt("equipmentSet");
this.runeSetID = rs.getInt("runeSet");