From ce8d5f0129e256e108cb7e57cc93af5c122b0988 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 30 Apr 2023 08:28:36 -0400 Subject: [PATCH] Debug null value. --- src/engine/objects/NPC.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index 0fdd4f3a..33ad39fb 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -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;