|
|
@ -5144,9 +5144,6 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void update(Boolean newSystem) { |
|
|
|
public void update(Boolean newSystem) { |
|
|
|
|
|
|
|
|
|
|
|
this.updateLocation(); |
|
|
|
|
|
|
|
this.updateMovementState(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!newSystem) |
|
|
|
if(!newSystem) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
@ -5155,6 +5152,10 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
if (this.updateLock.writeLock().tryLock()) { |
|
|
|
if (this.updateLock.writeLock().tryLock()) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.updateMovementState(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.updateLocation(); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
if (this.isAlive() && this.isActive && this.enteredWorld) { |
|
|
|
if (this.isAlive() && this.isActive && this.enteredWorld) { |
|
|
|