aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/commands/ToggleCommand.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/ToggleCommand.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/ToggleCommand.java')
-rw-r--r--me/Danker/commands/ToggleCommand.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/me/Danker/commands/ToggleCommand.java b/me/Danker/commands/ToggleCommand.java
index bbcafc1..6baa7af 100644
--- a/me/Danker/commands/ToggleCommand.java
+++ b/me/Danker/commands/ToggleCommand.java
@@ -20,7 +20,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
@Override
public String getCommandUsage(ICommandSender arg0) {
- return getCommandName() + " [gparty/coords/list]";
+ return getCommandName() + " <gparty/coords/list>";
}
@Override
@@ -34,7 +34,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
final ConfigHandler cf = new ConfigHandler();
if (arg1.length == 0) {
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /toggle [gparty/coords/list]"));
+ player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /toggle <gparty/coords/list>"));
return;
}
@@ -50,7 +50,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.GREEN + "Guild party notifications: " + EnumChatFormatting.DARK_GREEN + gpartyToggled + "\n" +
EnumChatFormatting.GREEN + " Coord/Angle display: " + EnumChatFormatting.DARK_GREEN + coordsToggled));
} else {
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /toggle [gparty/coords/list]"));
+ player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /toggle <gparty/coords/list>"));
}
}
}