aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-21 13:34:28 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-21 13:34:28 +0200
commit9db106b981b827ea254ca7dbe8cd924dc90375eb (patch)
tree45b520fd8ff69a5d5fa3ca862c2752ff0eff44fe
parent824716488f4c73d16458cad82bb13dd5b1008fdd (diff)
downloadskyhanni-9db106b981b827ea254ca7dbe8cd924dc90375eb.tar.gz
skyhanni-9db106b981b827ea254ca7dbe8cd924dc90375eb.tar.bz2
skyhanni-9db106b981b827ea254ca7dbe8cd924dc90375eb.zip
formatting
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HarpFeatures.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HarpFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HarpFeatures.kt
index a79a66717..d6d79b31a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HarpFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HarpFeatures.kt
@@ -44,15 +44,15 @@ object HarpFeatures {
private val patternGroup = RepoPattern.group("harp")
private val inventoryTitlePattern by patternGroup.pattern(
"inventory",
- "Harp.*"
+ "Harp.*",
)
private val menuTitlePattern by patternGroup.pattern(
"menu",
- "Melody.*"
+ "Melody.*",
)
private val songSelectedPattern by patternGroup.pattern(
"song.selected",
- "§aSong is selected!"
+ "§aSong is selected!",
)
private fun isHarpGui(chestName: String) = inventoryTitlePattern.matches(chestName)
@@ -77,7 +77,7 @@ object HarpFeatures {
37 + index,
2,
3,
- Minecraft.getMinecraft().thePlayer
+ Minecraft.getMinecraft().thePlayer,
) // middle clicks > left clicks
lastClick = SimpleTimeMark.now()
break
@@ -181,7 +181,7 @@ object HarpFeatures {
it,
event.clickedButton,
event.clickType,
- Minecraft.getMinecraft().thePlayer
+ Minecraft.getMinecraft().thePlayer,
)
}
}