forked from MagicBane/Server
hotifx + gold cap increase
This commit is contained in:
@@ -5144,9 +5144,12 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
@Override
|
||||
public void update(Boolean newSystem) {
|
||||
|
||||
this.updateLocation();
|
||||
this.updateMovementState();
|
||||
|
||||
if(!newSystem) {
|
||||
this.updateLocation();
|
||||
this.updateMovementState();
|
||||
// this.updateLocation();
|
||||
// this.updateMovementState();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -5154,7 +5157,6 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
if (this.updateLock.writeLock().tryLock()) {
|
||||
|
||||
|
||||
//if(!this.timestamps.containsKey("SetDirty")){
|
||||
// this.timestamps.put("SetDirty", System.currentTimeMillis());
|
||||
//}else if (this.timestamps.get("SetDirty") + 5000L < System.currentTimeMillis()){
|
||||
|
||||
Reference in New Issue
Block a user