diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-07-20 19:27:24 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-07-20 19:27:24 -0400 |
commit | 2f128b7995cded35f9b0ca41f5ef6fa70d633b7f (patch) | |
tree | 0b3787ce7df788c64f25125422c80c3fc1e159ec /me/Danker/commands/MoveCommand.java | |
parent | 34234ac4f58c66c3910e635aaaad60ebf08e9b00 (diff) | |
download | SkyblockMod-2f128b7995cded35f9b0ca41f5ef6fa70d633b7f.tar.gz SkyblockMod-2f128b7995cded35f9b0ca41f5ef6fa70d633b7f.tar.bz2 SkyblockMod-2f128b7995cded35f9b0ca41f5ef6fa70d633b7f.zip |
/dhelp, /guildof, fix brackets
Add /dhelp which returns list of commands. Add /guildof which returns guild and guildmaster of a person. Swap <> and [] for parameters.
Diffstat (limited to 'me/Danker/commands/MoveCommand.java')
-rw-r--r-- | me/Danker/commands/MoveCommand.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/me/Danker/commands/MoveCommand.java b/me/Danker/commands/MoveCommand.java index d402680..797cffa 100644 --- a/me/Danker/commands/MoveCommand.java +++ b/me/Danker/commands/MoveCommand.java @@ -20,7 +20,7 @@ public class MoveCommand extends CommandBase { @Override public String getCommandUsage(ICommandSender arg0) { - return getCommandName() + " [coords/display] [x] [y]"; + return getCommandName() + " <coords/display> <x> <y>"; } @Override @@ -34,7 +34,7 @@ public class MoveCommand extends CommandBase { final ConfigHandler cf = new ConfigHandler(); if (arg1.length < 2) { - player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /move [coords/display] [x] [y]")); + player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /move <coords/display> <x> <y>")); return; } @@ -51,7 +51,7 @@ public class MoveCommand extends CommandBase { cf.writeIntConfig("locations", "displayY", displayXY[1]); player.addChatMessage(new ChatComponentText(EnumChatFormatting.GREEN + "Tracker display has been moved to " + EnumChatFormatting.DARK_GREEN + arg1[1] + ", " + arg1[2])); } else { - player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /move [coords/display] [x] [y]")); + player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /move <coords/display> <x> <y>")); } } |