From 728db63024545cfe68a337ba543965fbec1bb504 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 8 Jan 2025 07:20:49 -0600 Subject: [PATCH] mob ai work --- src/engine/mobileAI/Threads/MobRespawnThread.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/mobileAI/Threads/MobRespawnThread.java b/src/engine/mobileAI/Threads/MobRespawnThread.java index 24e2f281..e3271b20 100644 --- a/src/engine/mobileAI/Threads/MobRespawnThread.java +++ b/src/engine/mobileAI/Threads/MobRespawnThread.java @@ -8,6 +8,8 @@ package engine.mobileAI.Threads; +import engine.InterestManagement.InterestManager; +import engine.InterestManagement.WorldGrid; import engine.gameManager.ZoneManager; import engine.objects.Mob; import engine.objects.Zone; @@ -49,6 +51,8 @@ public class MobRespawnThread implements Runnable { respawner.respawn(); zone.respawnQue.remove(respawner); zone.lastRespawn = System.currentTimeMillis(); + WorldGrid.updateObject(respawner); + InterestManager.setObjectDirty(respawner); } } } catch (Exception e) {