mob update

This commit is contained in:
2025-01-05 14:53:05 -06:00
parent 65580c0a47
commit 7fbae12e99
+2 -3
View File
@@ -1327,9 +1327,6 @@ public class Mob extends AbstractIntelligenceAgent {
Dispatch dispatch; Dispatch dispatch;
try { try {
//resync corpses
InterestManager.setObjectDirty(this);
//this.setLoc(this.getMovementLoc());
if (this.isSiege) { if (this.isSiege) {
this.deathTime = System.currentTimeMillis(); this.deathTime = System.currentTimeMillis();
//this.state = STATE.Dead; //this.state = STATE.Dead;
@@ -1409,6 +1406,8 @@ public class Mob extends AbstractIntelligenceAgent {
Logger.error(e); Logger.error(e);
} }
this.updateLocation(); this.updateLocation();
//resync corpses
InterestManager.setObjectDirty(this);
} }
public void respawn() { public void respawn() {