diff options
author | CuzImClicks <bruno778.whiteelfie@gmail.com> | 2021-05-15 15:42:48 +0200 |
---|---|---|
committer | CuzImClicks <bruno778.whiteelfie@gmail.com> | 2021-05-15 15:42:48 +0200 |
commit | b1c294e151361f11c4449656a3400cff65e7edf7 (patch) | |
tree | ad2dad23ac18dcc5c464776d229d4e357109e7a9 /src/main/java/me | |
parent | fb830a18c63b00f96ac0fe0aa29099dfe308aa67 (diff) | |
download | SkyblockMod-b1c294e151361f11c4449656a3400cff65e7edf7.tar.gz SkyblockMod-b1c294e151361f11c4449656a3400cff65e7edf7.tar.bz2 SkyblockMod-b1c294e151361f11c4449656a3400cff65e7edf7.zip |
fine i removed it
Diffstat (limited to 'src/main/java/me')
-rw-r--r-- | src/main/java/me/Danker/DankersSkyblockMod.java | 1 | ||||
-rw-r--r-- | src/main/java/me/Danker/commands/SetAngleCommand.java | 40 |
2 files changed, 0 insertions, 41 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java index f7f488c..d26736b 100644 --- a/src/main/java/me/Danker/DankersSkyblockMod.java +++ b/src/main/java/me/Danker/DankersSkyblockMod.java @@ -189,7 +189,6 @@ public class DankersSkyblockMod { ClientCommandHandler.instance.registerCommand(new SkyblockPlayersCommand()); ClientCommandHandler.instance.registerCommand(new SlayerCommand()); ClientCommandHandler.instance.registerCommand(new ToggleCommand()); - ClientCommandHandler.instance.registerCommand(new SetAngleCommand()); ClientCommandHandler.instance.registerCommand(new Crypt()); ClientCommandHandler.instance.registerCommand(new DarkAuction()); diff --git a/src/main/java/me/Danker/commands/SetAngleCommand.java b/src/main/java/me/Danker/commands/SetAngleCommand.java deleted file mode 100644 index 6061621..0000000 --- a/src/main/java/me/Danker/commands/SetAngleCommand.java +++ /dev/null @@ -1,40 +0,0 @@ -package me.Danker.commands; - -import me.Danker.DankersSkyblockMod; -import net.minecraft.client.Minecraft; -import net.minecraft.command.CommandBase; -import net.minecraft.command.CommandException; -import net.minecraft.command.ICommandSender; -import net.minecraft.util.ChatComponentText; - - -public class SetAngleCommand extends CommandBase { - - @Override - public String getCommandName() { - return "setangle"; - } - - @Override - public String getCommandUsage(ICommandSender sender) { - return "/" + getCommandName() + " [yaw] [pitch]"; - } - - public static String usage(ICommandSender arg0) { - return new SetAngleCommand().getCommandUsage(arg0); - } - - @Override - public int getRequiredPermissionLevel() { - return 0; - } - - @Override - public void processCommand(ICommandSender sender, String[] args) throws CommandException { - if (args.length < 2) return; - - Minecraft.getMinecraft().thePlayer.rotationPitch = Float.parseFloat(args[1]); - Minecraft.getMinecraft().thePlayer.rotationYaw = Float.parseFloat(args[0]); - sender.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Set your rotation to yaw=" + DankersSkyblockMod.SECONDARY_COLOUR + args[0] + DankersSkyblockMod.MAIN_COLOUR + ", pitch=" + DankersSkyblockMod.SECONDARY_COLOUR +args[1])); - } -} |