aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-06-12 23:59:44 +0200
committerGitHub <noreply@github.com>2024-06-12 23:59:44 +0200
commit3683257be3e74ac977d189100ff8db48b55d2a1b (patch)
tree975e69dfa755f7e0e24a18074bea47dcecb055e3 /src/main/java
parent7dab99f46d4caaaef0b7c29f90ad48c192800df7 (diff)
downloadskyhanni-3683257be3e74ac977d189100ff8db48b55d2a1b.tar.gz
skyhanni-3683257be3e74ac977d189100ff8db48b55d2a1b.tar.bz2
skyhanni-3683257be3e74ac977d189100ff8db48b55d2a1b.zip
Fix: Fixed enchant parsing causing errors in custom wardrobe (#2074)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt
index 21bf346ff..521be1429 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt
@@ -135,7 +135,9 @@ object CustomWardrobe {
@SubscribeEvent
fun onInventoryUpdate(event: InventoryUpdatedEvent) {
if (!isEnabled() || editMode) return
- update()
+ DelayedRun.runNextTick {
+ update()
+ }
}
private fun update() {