Browse Source

mob update

lakebane-optimize
FatBoy-DOTC 2 weeks ago
parent
commit
7fbae12e99
  1. 5
      src/engine/objects/Mob.java

5
src/engine/objects/Mob.java

@ -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() {

Loading…
Cancel
Save