Browse Source

Debug null value.

master
MagicBot 2 years ago
parent
commit
ce8d5f0129
  1. 4
      src/engine/objects/NPC.java

4
src/engine/objects/NPC.java

@ -170,6 +170,10 @@ public class NPC extends AbstractCharacter { @@ -170,6 +170,10 @@ public class NPC extends AbstractCharacter {
this.currentID = this.dbID;
this.setObjectTypeMask(MBServerStatics.MASK_NPC);
int contractID = rs.getInt("npc_contractID");
if (currentID == 15551)
this.runeSetID = 11;
this.parentZoneID = rs.getInt("parent");
this.gridObjectType = GridObjectType.STATIC;

Loading…
Cancel
Save