diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 088603fa..5e2cb593 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -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 {