From c36dd88ff83ff09d5941d6772b5eefff0cd10665 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Sun, 23 Jul 2023 15:01:47 -0500 Subject: Add HUD elements for HP/Mana/Defenses/Stacks/Speed --- src/main/kotlin/com/dulkirfabric/features/ArachneFeatures.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin/com/dulkirfabric/features/ArachneFeatures.kt') diff --git a/src/main/kotlin/com/dulkirfabric/features/ArachneFeatures.kt b/src/main/kotlin/com/dulkirfabric/features/ArachneFeatures.kt index 695e610..f573736 100644 --- a/src/main/kotlin/com/dulkirfabric/features/ArachneFeatures.kt +++ b/src/main/kotlin/com/dulkirfabric/features/ArachneFeatures.kt @@ -37,7 +37,7 @@ object ArachneFeatures { private var bigboy: Boolean = false @EventHandler fun onRenderWorldLast(event: WorldRenderLastEvent) { - if (TablistUtils.area != "Spider's Den") return + if (TablistUtils.persistentInfo.area != "Spider's Den") return if (!DulkirConfig.configOptions.arachneKeeperWaypoints) return keeperWaypoints.forEach { WorldRenderUtils.renderWaypoint(it.name, event.context, it.pos) @@ -47,7 +47,7 @@ object ArachneFeatures { @EventHandler fun onChat(event: ChatReceivedEvent) { if (!DulkirConfig.configOptions.arachneSpawnTimer) return - if (TablistUtils.area != "Spider's Den") return + if (TablistUtils.persistentInfo.area != "Spider's Den") return val str = event.message.unformattedString.trim() if (str matches spawnRegex) { bigboy = false @@ -67,7 +67,7 @@ object ArachneFeatures { @EventHandler fun onWorldRenderLast(event: WorldRenderLastEvent) { if (!DulkirConfig.configOptions.arachneSpawnTimer) return - if (TablistUtils.area != "Spider's Den") return + if (TablistUtils.persistentInfo.area != "Spider's Den") return if (spawnmillis <=startmillis) return var time: Int = if (bigboy) { -- cgit