diff --git a/src/main/java/meteordevelopment/meteorclient/systems/commands/Commands.java b/src/main/java/meteordevelopment/meteorclient/systems/commands/Commands.java index baae556b95..3a56a788d4 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/commands/Commands.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/commands/Commands.java @@ -38,7 +38,6 @@ public void init() { add(new BaritoneCommand()); add(new VClipCommand()); add(new HClipCommand()); - add(new ClearChatCommand()); add(new DismountCommand()); add(new DamageCommand()); add(new DropCommand()); diff --git a/src/main/java/meteordevelopment/meteorclient/systems/commands/commands/ClearChatCommand.java b/src/main/java/meteordevelopment/meteorclient/systems/commands/commands/ClearChatCommand.java deleted file mode 100644 index 8b8e758488..0000000000 --- a/src/main/java/meteordevelopment/meteorclient/systems/commands/commands/ClearChatCommand.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This file is part of the Meteor Client distribution (https://github.com/MeteorDevelopment/meteor-client/). - * Copyright (c) 2021 Meteor Development. - */ - -package meteordevelopment.meteorclient.systems.commands.commands; - -import com.mojang.brigadier.builder.LiteralArgumentBuilder; -import meteordevelopment.meteorclient.systems.commands.Command; -import net.minecraft.command.CommandSource; - -import static com.mojang.brigadier.Command.SINGLE_SUCCESS; - -public class ClearChatCommand extends Command { - public ClearChatCommand() { - super("clear-chat", "Clears your chat."); - } - - @Override - public void build(LiteralArgumentBuilder builder) { - builder.executes(context -> { - mc.inGameHud.getChatHud().clear(false); - return SINGLE_SUCCESS; - }); - } -}