diff --git a/Server/src/main/content/region/wilderness/handlers/revenants/RevenantController.kt b/Server/src/main/content/region/wilderness/handlers/revenants/RevenantController.kt index fed2f91ec..2ccfbb61c 100644 --- a/Server/src/main/content/region/wilderness/handlers/revenants/RevenantController.kt +++ b/Server/src/main/content/region/wilderness/handlers/revenants/RevenantController.kt @@ -372,7 +372,9 @@ class RevenantController : TickListener, Commands { if (routeIdx == -1) { GameWorld.Pulser.submit(object : Pulse() { override fun pulse(): Boolean { - Graphics.send(Graphics(86), revenantNPC.location) + if (revenantNPC.location.region.isActive) { + Graphics.send(Graphics(86), revenantNPC.location) + } return true } }) diff --git a/Server/src/main/core/api/ContentAPI.kt b/Server/src/main/core/api/ContentAPI.kt index 6e905d67a..7e1d6f813 100644 --- a/Server/src/main/core/api/ContentAPI.kt +++ b/Server/src/main/core/api/ContentAPI.kt @@ -541,7 +541,10 @@ fun poofClear(npc: NPC) { override fun pulse(): Boolean { when (counter++) { 2 -> { - npc.isInvisible = true; Graphics.send(Graphics(86), npc.location) + npc.isInvisible = true; + if (npc.location.region.isActive) { + Graphics.send(Graphics(86), npc.location) + } } 3 -> npc.clear().also { return true } }