location sync and def formula

This commit is contained in:
2025-02-03 19:02:34 -06:00
parent c391272e5b
commit e4a3405032
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -5112,8 +5112,12 @@ public class PlayerCharacter extends AbstractCharacter {
@Override
public void update(Boolean newSystem) {
this.updateLocation();
this.updateMovementState();
if(!newSystem)
return;
try {
if (this.updateLock.writeLock().tryLock()) {
@@ -5125,7 +5129,7 @@ public class PlayerCharacter extends AbstractCharacter {
forceRespawn(this);
return;
}
this.updateLocation();
if (this.isAlive() && this.isActive && this.enteredWorld) {
this.updateMovementState();