hotfix for location sync

This commit is contained in:
2025-03-12 16:09:15 -05:00
parent a7d01cc461
commit b7e4f309e8
+4 -3
View File
@@ -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());