diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-16 23:26:03 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-16 23:26:03 +0100 |
commit | 2f0a206d62eda0019ceaa9ac92ed2e4d44194e30 (patch) | |
tree | 5be3a9c976cd0eb9d2674f367cd9a11c14a9a92e /src/main/java/at/hannibal2/skyhanni/features | |
parent | b66728511579381e3ea8630bd532d91a359c683c (diff) | |
download | skyhanni-2f0a206d62eda0019ceaa9ac92ed2e4d44194e30.tar.gz skyhanni-2f0a206d62eda0019ceaa9ac92ed2e4d44194e30.tar.bz2 skyhanni-2f0a206d62eda0019ceaa9ac92ed2e4d44194e30.zip |
Fixed QuestLoader not working for Barbarians and Typo.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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 |