From 2114d9832f4718e2707ff19156f4b5faadb07490 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 25 Apr 2023 09:00:13 -0400 Subject: [PATCH] Redundant declaration and assignment. --- src/engine/objects/NPC.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index 383a8538..17af4da3 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -192,9 +192,7 @@ public class NPC extends AbstractCharacter { else this.loadID = 2011; //default to human - int mobBaseOverride = rs.getInt("npc_raceID"); - - this.loadID = mobBaseOverride; + this.loadID = rs.getInt("npc_raceID"); this.mobBase = MobBase.getMobBase(this.loadID); this.level = rs.getByte("npc_level");