diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-10-26 20:14:40 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-10-26 20:14:40 +0200 |
| commit | 257640fdd4708356cebf8898d43e8ec4d7bd7351 (patch) | |
| tree | efbf10e27335f888152be27ca35ca9dc69c917c3 | |
| parent | f226fc113014dea6c8fcccd7e00d52a610f8f8bc (diff) | |
| download | SkyHanni-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.kt | 2 | ||||
| -rw-r--r-- | src/main/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) { |
