region height work

This commit is contained in:
2023-09-13 21:07:57 -05:00
parent 200318ddcf
commit 9b7fc0a93b
4 changed files with 14 additions and 36 deletions
+2 -1
View File
@@ -1649,7 +1649,7 @@ public class Mob extends AbstractIntelligenceAgent {
// Setup location for this Mobile
this.loc = new Vector3fImmutable(bindLoc);
this.setLoc(bindLoc);
this.endLoc = new Vector3fImmutable(bindLoc);
// Initialize inventory
@@ -1743,6 +1743,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.level = (short) newRank;
this.recalculateStats();
this.setHealth(this.healthMax);
this.setLoc(this.bindLoc);
}
public boolean isRanking() {