aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt
diff options
context:
space:
mode:
authorAppability <appable@icloud.com>2022-10-17 16:11:40 -0700
committerAppability <appable@icloud.com>2022-10-17 16:11:40 -0700
commitfcd49c8b59f9c76008b5112a2e296c164b168842 (patch)
treeba3be0850cfe2185a68e6ba9fd862e5c59fd57dc /src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt
parentd4245bb705c7d8965e6bf63c90614dcfef38dcf7 (diff)
downloadAmbientAddons-fcd49c8b59f9c76008b5112a2e296c164b168842.tar.gz
AmbientAddons-fcd49c8b59f9c76008b5112a2e296c164b168842.tar.bz2
AmbientAddons-fcd49c8b59f9c76008b5112a2e296c164b168842.zip
trapper esp
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt')
-rw-r--r--src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt b/src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt
index e57443d..b10c58a 100644
--- a/src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt
+++ b/src/main/kotlin/com/ambientaddons/utils/dungeon/DungeonPlayers.kt
@@ -2,7 +2,7 @@ package com.ambientaddons.utils.dungeon
import com.ambientaddons.utils.Extensions.stripControlCodes
import com.ambientaddons.utils.Area
-import com.ambientaddons.utils.SkyBlock
+import com.ambientaddons.utils.SBLocation
import com.ambientaddons.utils.TabListUtils
import com.ambientaddons.utils.text
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
@@ -16,7 +16,7 @@ object DungeonPlayers {
@SubscribeEvent
fun onTick(event: ClientTickEvent) {
- if (SkyBlock.area != Area.Dungeon) return
+ if (SBLocation.area != Area.Dungeon) return
if (ticks % 10 == 0) {
val rawPlayers = TabListUtils.fetchTabEntries().let { tabEntries ->
playerSlots.map { tabEntries[it].text.stripControlCodes() }