forked from MagicBane/Server
order of update operations
This commit is contained in:
@@ -5144,9 +5144,6 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
@Override
|
||||
public void update(Boolean newSystem) {
|
||||
|
||||
this.updateLocation();
|
||||
this.updateMovementState();
|
||||
|
||||
if(!newSystem)
|
||||
return;
|
||||
|
||||
@@ -5155,6 +5152,10 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
if (this.updateLock.writeLock().tryLock()) {
|
||||
|
||||
this.updateMovementState();
|
||||
|
||||
this.updateLocation();
|
||||
|
||||
try {
|
||||
|
||||
if (this.isAlive() && this.isActive && this.enteredWorld) {
|
||||
|
||||
Reference in New Issue
Block a user