From 999ff2256c1384a5ca4db2e7069207127404cfff Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:59:25 +1000 Subject: Backend: Use event.cancel() over event.isCanceled = true for LorenzEvents (#1915) --- src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsGuide.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/mining') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsGuide.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsGuide.kt index 29cecd5f9..6e6590c18 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsGuide.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsGuide.kt @@ -133,7 +133,7 @@ object DeepCavernsGuide { @SubscribeEvent(priority = EventPriority.HIGH) fun onSlotClick(event: GuiContainerEvent.SlotClickEvent) { if (showStartIcon && event.slotId == 49) { - event.isCanceled = true + event.cancel() ChatUtils.chat("Manually enabled Deep Caverns Guide.") start() } -- cgit