1.19.1 update (#145)

Co-authored-by: Cloudburst <18114966+C10udburst@users.noreply.github.com>
This commit is contained in:
RacoonDog
2022-07-31 04:27:25 -04:00
committed by GitHub
parent 36bc339e74
commit 8d0ea9869e
17 changed files with 19 additions and 142 deletions

View File

@@ -2,6 +2,7 @@ package anticope.rejects.commands;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import meteordevelopment.meteorclient.utils.player.ChatUtils;
import net.minecraft.client.util.GlfwUtil;
import net.minecraft.command.CommandSource;
import net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket;
@@ -35,7 +36,7 @@ public class KickCommand extends Command {
return SINGLE_SUCCESS;
}));
builder.then(literal("chat").executes(ctx -> {
mc.player.sendChatMessage("§0§1§");
ChatUtils.sendPlayerMsg("§0§1§");
return SINGLE_SUCCESS;
}));
builder.then(literal("shutdown").executes(ctx -> {