Browse Source

Redundant declaration and assignment.

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

4
src/engine/objects/NPC.java

@ -192,9 +192,7 @@ public class NPC extends AbstractCharacter { @@ -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");

Loading…
Cancel
Save