aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/commands/SetkeyCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-07-20 19:27:24 -0400
committerbowser0000 <bowser0000@gmail.com>2020-07-20 19:27:24 -0400
commit2f128b7995cded35f9b0ca41f5ef6fa70d633b7f (patch)
tree0b3787ce7df788c64f25125422c80c3fc1e159ec /me/Danker/commands/SetkeyCommand.java
parent34234ac4f58c66c3910e635aaaad60ebf08e9b00 (diff)
downloadSkyblockMod-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.java4
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;
}