aboutsummaryrefslogtreecommitdiff
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
parent46ae5055f059c7b4ce46dd96d6cb2ef0681f77a8 (diff)
downloadSkyHanni-48a554fa076cc4bf2c6facefbf301088571d8a7f.tar.gz
SkyHanni-48a554fa076cc4bf2c6facefbf301088571d8a7f.tar.bz2
SkyHanni-48a554fa076cc4bf2c6facefbf301088571d8a7f.zip
Fixed QuestLoader not working for Barbarians and Typo.
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Misc.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
index 9ac1057ed..4ddfc0b01 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
@@ -146,7 +146,7 @@ public class Misc {
public boolean crimsonIsleReputationHelper = true;
@Expose
- @ConfigOption(name = "Collection Counter Position", desc = "Tracking the number of items you collect. §cDoes not work with sacks.")
+ @ConfigOption(name = "Reputation Position", desc = "")
@ConfigEditorButton(runnableId = "crimsonIsleReputationHelper", buttonText = "Edit")
public Position crimsonIsleReputationHelperPos = new Position(10, 10, false, true);
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