From b7e4f309e8116397d6250e8aa766a4afbd694bd9 Mon Sep 17 00:00:00 2001
From: FatBoy-DOTC <justin.chucksinsulating@gmail.com>
Date: Wed, 12 Mar 2025 16:09:15 -0500
Subject: [PATCH] hotfix for location sync

---
 src/engine/objects/PlayerCharacter.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java
index 740a7388..16a4442b 100644
--- a/src/engine/objects/PlayerCharacter.java
+++ b/src/engine/objects/PlayerCharacter.java
@@ -5144,15 +5144,16 @@ public class PlayerCharacter extends AbstractCharacter {
     @Override
     public void update(Boolean newSystem) {
 
-        if(!newSystem)
+        if(!newSystem) {
+            this.updateLocation();
+            this.updateMovementState();
             return;
+        }
 
         try {
 
             if (this.updateLock.writeLock().tryLock()) {
 
-                this.updateMovementState();
-                this.updateLocation();
 
                 if(!this.timestamps.containsKey("SetDirty")){
                     this.timestamps.put("SetDirty", System.currentTimeMillis());