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 | |
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')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Misc.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt | 4 |
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 |