diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-06-12 23:59:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 23:59:44 +0200 |
commit | 3683257be3e74ac977d189100ff8db48b55d2a1b (patch) | |
tree | 975e69dfa755f7e0e24a18074bea47dcecb055e3 /src/main/java | |
parent | 7dab99f46d4caaaef0b7c29f90ad48c192800df7 (diff) | |
download | skyhanni-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.kt | 4 |
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() { |