From e1ee9ac488dbba5e6898e92bc9ebf93096e671b1 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 18 Jan 2024 20:20:12 +0100 Subject: moved all shdebug stuff into categories --- src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data/SlayerAPI.kt') 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 -- cgit