aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-16 23:26:03 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-16 23:26:03 +0100
commit48a554fa076cc4bf2c6facefbf301088571d8a7f (patch)
tree5be3a9c976cd0eb9d2674f367cd9a11c14a9a92e /src/main/java/at/hannibal2/skyhanni/features
parent46ae5055f059c7b4ce46dd96d6cb2ef0681f77a8 (diff)
downloadSkyHanni-48a554fa076cc4bf2c6facefbf301088571d8a7f.tar.gz
SkyHanni-48a554fa076cc4bf2c6facefbf301088571d8a7f.tar.bz2
SkyHanni-48a554fa076cc4bf2c6facefbf301088571d8a7f.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.kt4
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