From 9aebf6a0e4ffa739d901c8b8d7f48d07af2fe839 Mon Sep 17 00:00:00 2001 From: "mcwalterarlo@gmail.com" Date: Sat, 8 Jan 2022 23:21:57 +0000 Subject: [PATCH] removed .clear-chat (F3+D) --- .../systems/commands/Commands.java | 1 - .../commands/commands/ClearChatCommand.java | 26 ------------------- 2 files changed, 27 deletions(-) delete mode 100644 src/main/java/meteordevelopment/meteorclient/systems/commands/commands/ClearChatCommand.java 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; - }); - } -}