Clarity in naming.

This commit is contained in:
2023-04-04 16:26:47 -04:00
parent 65e7566d0f
commit 4492a93df4
+3 -3
View File
@@ -164,7 +164,7 @@ public class NPC extends AbstractCharacter {
this.dbID = newUUID; this.dbID = newUUID;
this.currentID = newUUID; this.currentID = newUUID;
initializeMob(); initializeNPC();
clearStatic(); clearStatic();
} }
@@ -289,7 +289,7 @@ public class NPC extends AbstractCharacter {
} }
try{ try{
initializeMob(); initializeNPC();
}catch(Exception e){ }catch(Exception e){
Logger.error( e.toString()); Logger.error( e.toString());
} }
@@ -340,7 +340,7 @@ public class NPC extends AbstractCharacter {
this.statAlt = 0f; this.statAlt = 0f;
} }
private void initializeMob() { private void initializeNPC() {
if (this.mobBase != null) { if (this.mobBase != null) {
this.healthMax = this.mobBase.getHealthMax(); this.healthMax = this.mobBase.getHealthMax();