aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java b/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java
index e243fcc81..a5dad699c 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni.config.features;
+import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.*;
@@ -95,6 +96,9 @@ public class Slayer {
public boolean enabled = true;
@Expose
+ public Position pos = new Position(20, 20, false, true);
+
+ @Expose
@ConfigOption(name = "Price in Chat", desc = "Show an extra chat message when you pick up an item. " +
"(This contains name, amount and price)")
@ConfigEditorBoolean
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