aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-18 20:20:12 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-18 20:20:12 +0100
commite1ee9ac488dbba5e6898e92bc9ebf93096e671b1 (patch)
tree24387b87d3847fb8fc2b38fe7d6699283f94d9da /src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
parentfc19b7274edc318de60bc9628f1e87d36f285c63 (diff)
downloadskyhanni-e1ee9ac488dbba5e6898e92bc9ebf93096e671b1.tar.gz
skyhanni-e1ee9ac488dbba5e6898e92bc9ebf93096e671b1.tar.bz2
skyhanni-e1ee9ac488dbba5e6898e92bc9ebf93096e671b1.zip
moved all shdebug stuff into categories
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
index 2829bcb8d..c86563361 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt
@@ -75,18 +75,16 @@ object SlayerAPI {
event.title("Slayer")
if (!hasActiveSlayerQuest()) {
- event.exit("no active slayer quest")
+ event.ignore("no active slayer quest")
return
}
- event.addData(
- buildList {
- add("activeSlayer: ${getActiveSlayer()}")
- add("isInCorrectArea: $isInCorrectArea")
- add("isInAnyArea: $isInAnyArea")
- add("latestSlayerProgress: $latestSlayerProgress")
- }
- )
+ event.addData {
+ add("activeSlayer: ${getActiveSlayer()}")
+ add("isInCorrectArea: $isInCorrectArea")
+ add("isInAnyArea: $isInAnyArea")
+ add("latestSlayerProgress: $latestSlayerProgress")
+ }
}
@SubscribeEvent