attempted invis character sync fix

This commit is contained in:
FatBoy committed 2025-03-15 13:20:57 -05:00
1 parent 49ce99fd58
commit dd2707f6fb
4 files changed
+32 -30

No files matched your search

+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 {