aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/slayer
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-09 23:36:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-09 23:36:19 +0200
commitceceba488ff2608cada8eb58a2f1cea65c55928c (patch)
tree52ec305716dec04073d9614fef98a7d92f85acb7 /src/main/java/at/hannibal2/skyhanni/features/slayer
parentb4bd11579f42cd835c52d0d9e93c045137fec286 (diff)
downloadskyhanni-ceceba488ff2608cada8eb58a2f1cea65c55928c.tar.gz
skyhanni-ceceba488ff2608cada8eb58a2f1cea65c55928c.tar.bz2
skyhanni-ceceba488ff2608cada8eb58a2f1cea65c55928c.zip
Using a custom slayer profit tracker gui element
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/slayer')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt
index 33f9f3170..e4ca7ca28 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt
@@ -171,7 +171,8 @@ class SlayerItemProfitTracker {
fun onRenderOverlay(event: GuiRenderEvent) {
if (!isEnabled()) return
if (!SlayerAPI.isInSlayerArea) return
- SkyHanniMod.feature.dev.debugPos.renderStringsAndItems(display, posLabel = "Slayer Item Profit Tracker")
+
+ config.pos.renderStringsAndItems(display, posLabel = "Slayer Item Profit Tracker")
}
fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled