From 2f0a206d62eda0019ceaa9ac92ed2e4d44194e30 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 16 Jan 2023 23:26:03 +0100 Subject: Fixed QuestLoader not working for Barbarians and Typo. --- .../features/nether/reputationhelper/dailyquest/QuestLoader.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt index 069ab033c..6a3fd894b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt @@ -104,7 +104,9 @@ class QuestLoader(val dailyQuestHelper: DailyQuestHelper) { } fun checkInventory() { - if (LorenzUtils.skyBlockArea != "Community Center") return + val inMageRegion = LorenzUtils.skyBlockArea == "Community Center" + val inBarbarianRegion = LorenzUtils.skyBlockArea == "Dragontail" + if (!inMageRegion && !inBarbarianRegion) return val gui = Minecraft.getMinecraft().currentScreen if (gui !is GuiChest) return -- cgit