aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-07-28 10:34:17 +0200
committerGitHub <noreply@github.com>2024-07-28 10:34:17 +0200
commitc4da7e8b602e3726dbd0823c1626d4dccc19f503 (patch)
treec7c1a6a67c28c292c0328c63980b70463c4f6bf1
parented61531680966ac49cba4cfc300575fc23f8f57d (diff)
downloadskyhanni-c4da7e8b602e3726dbd0823c1626d4dccc19f503.tar.gz
skyhanni-c4da7e8b602e3726dbd0823c1626d4dccc19f503.tar.bz2
skyhanni-c4da7e8b602e3726dbd0823c1626d4dccc19f503.zip
Fix: HotM total powder being reset (#2263)
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HotmData.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt b/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt
index c484f2ca9..1775cdeeb 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HotmData.kt
@@ -674,6 +674,7 @@ enum class HotmData(
fun onInventoryFullyOpen(event: InventoryFullyOpenedEvent) {
if (!LorenzUtils.inSkyBlock) return
inInventory = inventoryPattern.matches(event.inventoryName)
+ if (!inInventory) return
DelayedRun.runNextTick {
InventoryUtils.getItemsInOpenChest().forEach { it.parse() }
abilities.filter { it.isUnlocked }.forEach {