From 236afe4cc64b064ab971c2a5ad7630cbc10a500f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 5 Jan 2025 14:48:51 -0600 Subject: [PATCH] mob update --- src/engine/objects/Mob.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index aa0c3ed0..5e068f71 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -12,6 +12,7 @@ package engine.objects; import ch.claude_martin.enumbitset.EnumBitSet; import engine.Enum; import engine.Enum.*; +import engine.InterestManagement.InterestManager; import engine.InterestManagement.WorldGrid; import engine.exception.SerializationException; import engine.gameManager.*; @@ -2165,7 +2166,7 @@ public class Mob extends AbstractIntelligenceAgent { } this.deathTime = 0; - WorldGrid.updateObject(this); + InterestManager.setObjectDirty(this); } catch (Exception e) { Logger.error(e.getMessage()); }