Browse Source

mob update

lakebane-optimize
FatBoy-DOTC 2 weeks ago
parent
commit
236afe4cc6
  1. 3
      src/engine/objects/Mob.java

3
src/engine/objects/Mob.java

@ -12,6 +12,7 @@ package engine.objects;
import ch.claude_martin.enumbitset.EnumBitSet; import ch.claude_martin.enumbitset.EnumBitSet;
import engine.Enum; import engine.Enum;
import engine.Enum.*; import engine.Enum.*;
import engine.InterestManagement.InterestManager;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.exception.SerializationException; import engine.exception.SerializationException;
import engine.gameManager.*; import engine.gameManager.*;
@ -2165,7 +2166,7 @@ public class Mob extends AbstractIntelligenceAgent {
} }
this.deathTime = 0; this.deathTime = 0;
WorldGrid.updateObject(this); InterestManager.setObjectDirty(this);
} catch (Exception e) { } catch (Exception e) {
Logger.error(e.getMessage()); Logger.error(e.getMessage());
} }

Loading…
Cancel
Save