From afad2cabda14cc6fa670026bf7429fee70f12b86 Mon Sep 17 00:00:00 2001 From: Beck Date: Wed, 15 Jul 2026 16:28:30 -0700 Subject: [PATCH] Constlib Anim 535 and comment cleanup --- .../quest/therestlessghost/RestlessGhostListeners.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt b/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt index 3647f6253..2a98a16c0 100644 --- a/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt +++ b/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt @@ -30,9 +30,6 @@ import org.rs09.consts.Sounds class RestlessGhostListeners : InteractionListener { companion object { - //This is not in the Animations consts, added in Constlib MR !22 - private const val Animations_HUMAN_CLOSE_CHEST_535 = 535 - private const val CLOSED_COFFIN = Scenery.COFFIN_2145 private const val INCOMPLETE_COFFIN_OPEN = Scenery.COFFIN_15052 private const val COMPLETE_COFFIN_OPEN = Scenery.COFFIN_15053 @@ -94,7 +91,7 @@ class RestlessGhostListeners : InteractionListener { COMPLETE_COFFIN_OPEN, INCOMPLETE_COFFIN_OPEN -> { //close it - visualize(player, Animations_HUMAN_CLOSE_CHEST_535, -1) + visualize(player, Animations.HUMAN_CLOSE_CHEST_535, -1) SceneryBuilder.replace(coffin, coffin.transform(CLOSED_COFFIN)) } CLOSED_COFFIN -> { @@ -124,7 +121,6 @@ class RestlessGhostListeners : InteractionListener { if (!isQuestComplete(player, Quests.THE_RESTLESS_GHOST)) { val ghostExists = RegionManager.getLocalNPCs(node.centerLocation).find { it.id == NPCs.RESTLESS_GHOST_457 } - //val ghostExists = RegionManager.getLocalNpcs(node.centerLocation).find { it.id == NPCs.RESTLESS_GHOST_457 } //not within rendering distance or doesn't exist at all if (ghostExists == null) {