aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-26 20:14:40 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-26 20:14:40 +0200
commit257640fdd4708356cebf8898d43e8ec4d7bd7351 (patch)
treeefbf10e27335f888152be27ca35ca9dc69c917c3
parentf226fc113014dea6c8fcccd7e00d52a610f8f8bc (diff)
downloadSkyHanni-257640fdd4708356cebf8898d43e8ec4d7bd7351.tar.gz
SkyHanni-257640fdd4708356cebf8898d43e8ec4d7bd7351.tar.bz2
SkyHanni-257640fdd4708356cebf8898d43e8ec4d7bd7351.zip
fixed detekt and wording
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ShiftClickBrewing.kt2
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) {