Browse Source

optimized regen client sync

lakebane
FatBoy-DOTC 9 hours ago
parent
commit
bc84c7537b
  1. 2
      src/engine/objects/PlayerCharacter.java

2
src/engine/objects/PlayerCharacter.java

@ -5469,7 +5469,7 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5469,7 +5469,7 @@ public class PlayerCharacter extends AbstractCharacter {
}
public void doRegen(){
if(!this.timestamps.contains("SyncClient"))
if(!this.timestamps.containsKey("SyncClient"))
this.timestamps.put("SyncClient",System.currentTimeMillis());
if (this.updateLock.writeLock().tryLock()) {
try {

Loading…
Cancel
Save