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/SetkeyCommand.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/SetkeyCommand.java')
-rw-r--r-- | me/Danker/commands/SetkeyCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/me/Danker/commands/SetkeyCommand.java b/me/Danker/commands/SetkeyCommand.java index 14f2336..f68ff75 100644 --- a/me/Danker/commands/SetkeyCommand.java +++ b/me/Danker/commands/SetkeyCommand.java @@ -18,7 +18,7 @@ public class SetkeyCommand extends CommandBase implements ICommand { @Override public String getCommandUsage(ICommandSender arg0) { - return getCommandName() + " [key]"; + return getCommandName() + " <key>"; } @Override @@ -31,7 +31,7 @@ public class SetkeyCommand extends CommandBase implements ICommand { final EntityPlayer player = (EntityPlayer)arg0; if (arg1.length == 0) { - player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /setkey [key]")); + player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /setkey <key>")); return; } |