From 9e22e7ada6ceb1aa6cf617568e6585473e328ed1 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 10 Feb 2024 21:37:46 +0100 Subject: fixed crash (Attempted to cancel a uncancelable event) --- src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() } } -- cgit