attempted invis character sync fix

This commit is contained in:
2025-03-15 13:20:57 -05:00
parent 49ce99fd58
commit dd2707f6fb
4 changed files with 32 additions and 30 deletions
+7 -7
View File
@@ -5155,13 +5155,13 @@ 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()){
InterestManager.setObjectDirty(this);
InterestManager.reloadCharacter(this,false);
this.timestamps.put("SetDirty", System.currentTimeMillis());
}
//if(!this.timestamps.containsKey("SetDirty")){
// this.timestamps.put("SetDirty", System.currentTimeMillis());
//}else if (this.timestamps.get("SetDirty") + 5000L < System.currentTimeMillis()){
// InterestManager.setObjectDirty(this);
// InterestManager.reloadCharacter(this,false);
// this.timestamps.put("SetDirty", System.currentTimeMillis());
//}
try {