diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-10 21:37:46 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-10 21:37:46 +0100 |
commit | 9e22e7ada6ceb1aa6cf617568e6585473e328ed1 (patch) | |
tree | c5083ad88c0e1f8871aa1cbde30f176170577a4b /src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt | |
parent | 6b237eaf324f1e9c43104519d25cb5c0e450fb77 (diff) | |
download | skyhanni-9e22e7ada6ceb1aa6cf617568e6585473e328ed1.tar.gz skyhanni-9e22e7ada6ceb1aa6cf617568e6585473e328ed1.tar.bz2 skyhanni-9e22e7ada6ceb1aa6cf617568e6585473e328ed1.zip |
fixed crash (Attempted to cancel a uncancelable event)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt b/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt index 9a7742a29..3290c216b 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt @@ -56,6 +56,6 @@ class ItemClickData { if (minecraft.thePlayer == null) return if (clickedEntity == null) return - event.isCanceled = EntityClickEvent(clickType, clickedEntity, InventoryUtils.getItemInHand()).postAndCatch() + EntityClickEvent(clickType, clickedEntity, InventoryUtils.getItemInHand()).postAndCatch() } } |