diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-19 17:12:02 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-19 17:12:02 +0200 |
commit | 3d7ace2e0fd66a2c83222d35331b27783268deea (patch) | |
tree | a408f9c803ed51746d3bf111fa5536a5e93ddaeb | |
parent | 156e533966ea51ee9527095edbdad22977d6c4a8 (diff) | |
download | ultra-notifier-3d7ace2e0fd66a2c83222d35331b27783268deea.tar.gz ultra-notifier-3d7ace2e0fd66a2c83222d35331b27783268deea.tar.bz2 ultra-notifier-3d7ace2e0fd66a2c83222d35331b27783268deea.zip |
Fix indents
-rw-r--r-- | src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java | 2 | ||||
-rw-r--r-- | src/main/kotlin/commands/BrigadierPatchbay.kt | 6 | ||||
-rw-r--r-- | src/main/kotlin/commands/Commands.kt | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java b/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java index 12eedba..bcccfe4 100644 --- a/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java +++ b/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java @@ -31,7 +31,7 @@ public class ChatHudMessageAdded { //#if MC >= 1.20 MessageSignatureData signatureData, MessageIndicator indicator, //#elseif MC >= 1.16 -//$$ int chatLineId, int timestamp, boolean bl, +//$$ int chatLineId, int timestamp, boolean bl, //#else //$$ int chatLineId, //#endif diff --git a/src/main/kotlin/commands/BrigadierPatchbay.kt b/src/main/kotlin/commands/BrigadierPatchbay.kt index 424224b..b88d0e7 100644 --- a/src/main/kotlin/commands/BrigadierPatchbay.kt +++ b/src/main/kotlin/commands/BrigadierPatchbay.kt @@ -32,11 +32,11 @@ package moe.nea.ultranotifier.commands //$$ val node: CommandNode<UltraCommandSource> //$$) : CommandBase() { //#if MC >= 1.12 -//$$ override fun checkPermission(server: MinecraftServer, sender: ICommandSender): Boolean { +//$$ override fun checkPermission(server: MinecraftServer, sender: ICommandSender): Boolean { //$$ return true //$$ } //#else -//$$ override fun canCommandSenderUseCommand(sender: ICommandSender): Boolean { +//$$ override fun canCommandSenderUseCommand(sender: ICommandSender): Boolean { //$$ return true //$$ } //#endif @@ -53,7 +53,7 @@ package moe.nea.ultranotifier.commands //$$ //$$ //#if MC < 1.12 -//$$ override fun processCommand(sender: ICommandSender, args: Array<out String>) { +//$$ override fun processCommand(sender: ICommandSender, args: Array<out String>) { //#else //$$ override fun execute(server: MinecraftServer, sender: ICommandSender, args: Array<out String>) { //#endif diff --git a/src/main/kotlin/commands/Commands.kt b/src/main/kotlin/commands/Commands.kt index de6ded3..5975bb2 100644 --- a/src/main/kotlin/commands/Commands.kt +++ b/src/main/kotlin/commands/Commands.kt @@ -19,7 +19,7 @@ typealias UltraCommandSource = //#elseif MC > 1.18 net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource //#else -//$$ net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource +//$$ net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource //#endif |