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 { @@ -1327,9 +1327,6 @@ public class Mob extends AbstractIntelligenceAgent {
Dispatch dispatch;
try {
//resync corpses
InterestManager.setObjectDirty(this);
//this.setLoc(this.getMovementLoc());
if (this.isSiege) {
this.deathTime = System.currentTimeMillis();
//this.state = STATE.Dead;
@ -1409,6 +1406,8 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1409,6 +1406,8 @@ public class Mob extends AbstractIntelligenceAgent {
Logger.error(e);
}
this.updateLocation();
//resync corpses
InterestManager.setObjectDirty(this);
}
public void respawn() {

Loading…
Cancel
Save