From 257640fdd4708356cebf8898d43e8ec4d7bd7351 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 26 Oct 2024 20:14:40 +0200 Subject: fixed detekt and wording --- src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt | 2 +- .../java/at/hannibal2/skyhanni/features/inventory/ShiftClickBrewing.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt b/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt index 386fb8bbf..acf1b6e0c 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt @@ -466,7 +466,7 @@ object IslandGraphs { componentText.onClick( onClick = { stop() - "§e[SkyHanni] Navigation manually stopped!".asComponent().send(PATHFIND_ID) + "§e[SkyHanni] Navigation stopped!".asComponent().send(PATHFIND_ID) }, ) componentText.hover = "§eClick to stop navigating!".asComponent() diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ShiftClickBrewing.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ShiftClickBrewing.kt index 824d95789..141ec7585 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ShiftClickBrewing.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ShiftClickBrewing.kt @@ -11,7 +11,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @SkyHanniModule object ShiftClickBrewing { - private val closeButtonIndex = 49 + private const val closeButtonIndex = 49 @SubscribeEvent fun onSlotClick(event: GuiContainerEvent.SlotClickEvent) { -- cgit