aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-09-04 11:14:12 +0200
committerGitHub <noreply@github.com>2024-09-04 11:14:12 +0200
commitc13744021e4ba9ddcba42a5635bde8a5d2617292 (patch)
tree569641b67dc6258c686dbfec75feb660b2136c3b /src
parentf6d6749284e998eafd1daa886aca136825fdecd7 (diff)
downloadskyhanni-c13744021e4ba9ddcba42a5635bde8a5d2617292.tar.gz
skyhanni-c13744021e4ba9ddcba42a5635bde8a5d2617292.tar.bz2
skyhanni-c13744021e4ba9ddcba42a5635bde8a5d2617292.zip
Fix: Reputation helper sack update (#2439)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt
index 6e1b73cd0..cbb9edd86 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt
@@ -10,6 +10,7 @@ import at.hannibal2.skyhanni.events.ConfigLoadEvent
import at.hannibal2.skyhanni.events.GuiRenderEvent
import at.hannibal2.skyhanni.events.LorenzTickEvent
import at.hannibal2.skyhanni.events.RepositoryReloadEvent
+import at.hannibal2.skyhanni.events.SackChangeEvent
import at.hannibal2.skyhanni.features.nether.reputationhelper.dailyquest.DailyQuestHelper
import at.hannibal2.skyhanni.features.nether.reputationhelper.dailyquest.QuestLoader
import at.hannibal2.skyhanni.features.nether.reputationhelper.kuudra.DailyKuudraBossHelper
@@ -89,6 +90,11 @@ class CrimsonIsleReputationHelper(skyHanniMod: SkyHanniMod) {
}
@SubscribeEvent
+ fun onSackChange(event: SackChangeEvent) {
+ dirty = true
+ }
+
+ @SubscribeEvent
fun onTick(event: LorenzTickEvent) {
if (!IslandType.CRIMSON_ISLE.isInIsland()) return
if (!config.enabled.get()) return