diff --git a/src/main/java/org/polyfrost/hytils/HytilsReborn.java b/src/main/java/org/polyfrost/hytils/HytilsReborn.java index a0f98f1..a393fd4 100644 --- a/src/main/java/org/polyfrost/hytils/HytilsReborn.java +++ b/src/main/java/org/polyfrost/hytils/HytilsReborn.java @@ -109,7 +109,6 @@ public void init(FMLInitializationEvent event) { CommandManager.INSTANCE.registerCommand(new HousingVisitCommand()); CommandManager.INSTANCE.registerCommand(new HytilsCommand()); CommandManager.INSTANCE.registerCommand(new IgnoreTemporaryCommand()); - CommandManager.INSTANCE.registerCommand(new LimboCommand()); CommandManager.INSTANCE.registerCommand(new RequeueCommand()); CommandManager.INSTANCE.registerCommand(new SilentRemoveCommand()); CommandManager.INSTANCE.registerCommand(new SkyblockVisitCommand()); diff --git a/src/main/java/org/polyfrost/hytils/command/LimboCommand.java b/src/main/java/org/polyfrost/hytils/command/LimboCommand.java deleted file mode 100644 index add90c0..0000000 --- a/src/main/java/org/polyfrost/hytils/command/LimboCommand.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Hytils Reborn - Hypixel focused Quality of Life mod. - * Copyright (C) 2020, 2021, 2022, 2023 Polyfrost, Sk1er LLC and contributors - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package org.polyfrost.hytils.command; - -import cc.polyfrost.oneconfig.libs.universal.ChatColor; -import cc.polyfrost.oneconfig.libs.universal.UChat; -import cc.polyfrost.oneconfig.utils.commands.annotations.Command; -import cc.polyfrost.oneconfig.utils.commands.annotations.Main; -import cc.polyfrost.oneconfig.utils.hypixel.HypixelUtils; -import net.minecraft.client.Minecraft; - -@Command("limbo") -public class LimboCommand { - @Main(description = "Sends you to limbo.") - private void main() { - if (HypixelUtils.INSTANCE.isHypixel()) { - Minecraft.getMinecraft().thePlayer.sendChatMessage("§"); - } else { - UChat.chat(ChatColor.RED + "You must be on Hypixel to use this command."); - } - } -} diff --git a/src/main/java/org/polyfrost/hytils/mixin/CommandLimboMixin_FixCommand.java b/src/main/java/org/polyfrost/hytils/mixin/CommandLimboMixin_FixCommand.java deleted file mode 100644 index fee3236..0000000 --- a/src/main/java/org/polyfrost/hytils/mixin/CommandLimboMixin_FixCommand.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Hytils Reborn - Hypixel focused Quality of Life mod. - * Copyright (C) 2020, 2021, 2022, 2023 Polyfrost, Sk1er LLC and contributors - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package org.polyfrost.hytils.mixin; - -import org.spongepowered.asm.mixin.Dynamic; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.Pseudo; -import org.spongepowered.asm.mixin.injection.Constant; -import org.spongepowered.asm.mixin.injection.ModifyConstant; - -@Pseudo -@Mixin(targets = "me.semx11.autotip.command.impl.CommandLimbo", remap = false) -public class CommandLimboMixin_FixCommand { - @Dynamic("AutoTip") - @ModifyConstant(method = "onCommand", constant = @Constant(stringValue = "/achat \u00a7c")) - private String hytils$fixAutotipCommand(String value) { - return "§"; - } -} diff --git a/src/main/resources/mixins.hytils.json b/src/main/resources/mixins.hytils.json index 4ebb3cc..c181d6f 100644 --- a/src/main/resources/mixins.hytils.json +++ b/src/main/resources/mixins.hytils.json @@ -7,7 +7,6 @@ "verbose": true, "client": [ "BossStatusMixin_HideBossbar", - "CommandLimboMixin_FixCommand", "EntityLivingBaseMixin_MiningFatigue", "EntityPlayerSPMixin_MessageHandling", "GuiChatMixin_PlayAutocomplete",