optimized regen client sync
This commit is contained in:
1 parent
29736f9c8f
commit
bc84c7537b
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user