Initial work on Mobile init refactor.

This commit is contained in:
2023-04-29 13:57:09 -04:00
parent e554171e22
commit 4acc4192af
2 changed files with 110 additions and 126 deletions
+2 -4
View File
@@ -336,7 +336,8 @@ public class NPC extends AbstractCharacter {
private void initializeNPC() {
int slot;
Vector3fImmutable slotLocation = Vector3fImmutable.ZERO;
Vector3fImmutable slotLocation;
if (ConfigManager.serverType.equals(ServerType.LOGINSERVER))
return;
@@ -358,9 +359,6 @@ public class NPC extends AbstractCharacter {
this.bindLoc = this.parentZone.getLoc().add(this.bindLoc);
this.loc = new Vector3fImmutable(bindLoc);
if (this.parentZoneID == 41365)
this.loc = new Vector3fImmutable(bindLoc);
// Handle NPCs within buildings
if (this.building != null) {