diff options
author | HacktheTime <l4bg0jb7@duck.com> | 2023-08-10 15:56:56 +0200 |
---|---|---|
committer | HacktheTime <l4bg0jb7@duck.com> | 2023-08-10 15:56:56 +0200 |
commit | 705aab052f99f0823329b6179a6ed3cd9368a968 (patch) | |
tree | 156d068a1444dd31de47d4170bf9a4e69d457f1b /src | |
parent | 2cd5f8e6bd42a084022028adcc24ef566fddab95 (diff) | |
download | BBsentials-705aab052f99f0823329b6179a6ed3cd9368a968.tar.gz BBsentials-705aab052f99f0823329b6179a6ed3cd9368a968.tar.bz2 BBsentials-705aab052f99f0823329b6179a6ed3cd9368a968.zip |
cleaned up code
Diffstat (limited to 'src')
3 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/de/hype/bbsentials/chat/Chat.java b/src/main/java/de/hype/bbsentials/chat/Chat.java index 780baa5..7a9c53a 100644 --- a/src/main/java/de/hype/bbsentials/chat/Chat.java +++ b/src/main/java/de/hype/bbsentials/chat/Chat.java @@ -7,7 +7,6 @@ import net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents; import net.minecraft.client.MinecraftClient; import net.minecraft.text.Text; import net.minecraft.util.Formatting; - import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; diff --git a/src/main/java/de/hype/bbsentials/client/BBsentials.java b/src/main/java/de/hype/bbsentials/client/BBsentials.java index 596d194..66807a0 100644 --- a/src/main/java/de/hype/bbsentials/client/BBsentials.java +++ b/src/main/java/de/hype/bbsentials/client/BBsentials.java @@ -149,7 +149,8 @@ public class BBsentials implements ClientModInitializer { List<String> variableNames; variableNames = List.of(getVariableInfo("de.hype.bbsentials.client", "Config")); return CommandSource.suggestMatching(variableNames, builder); - }).executes((context) -> { + }) + .executes((context) -> { // Handle "variableName" and "variableValue" logic here String variableName = StringArgumentType.getString(context, "variableName"); try { diff --git a/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java b/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java index bdb7478..10b3037 100644 --- a/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java +++ b/src/main/java/de/hype/bbsentials/client/Commands/CommandsOLD.java @@ -304,5 +304,4 @@ public class CommandsOLD { public void sendCommand(String message){ BBsentials.bbserver.sendCommand(message); } -} -//TODO
\ No newline at end of file +}
\ No newline at end of file |