From 3d7ace2e0fd66a2c83222d35331b27783268deea Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 19 Oct 2024 17:12:02 +0200 Subject: Fix indents --- src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java | 2 +- src/main/kotlin/commands/BrigadierPatchbay.kt | 6 +++--- 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 //$$) : 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) { +//$$ override fun processCommand(sender: ICommandSender, args: Array) { //#else //$$ override fun execute(server: MinecraftServer, sender: ICommandSender, args: Array) { //#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 -- cgit