forked from MagicBane/Server
attempted invis character sync fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user