From 2f128b7995cded35f9b0ca41f5ef6fa70d633b7f Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Mon, 20 Jul 2020 19:27:24 -0400 Subject: /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. --- me/Danker/commands/LootCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'me/Danker/commands/LootCommand.java') diff --git a/me/Danker/commands/LootCommand.java b/me/Danker/commands/LootCommand.java index 9beec87..e61fde7 100644 --- a/me/Danker/commands/LootCommand.java +++ b/me/Danker/commands/LootCommand.java @@ -84,7 +84,7 @@ public class LootCommand extends CommandBase { @Override public String getCommandUsage(ICommandSender arg0) { - return getCommandName() + " [zombie/spider/wolf]"; + return getCommandName() + " "; } @Override @@ -97,7 +97,7 @@ public class LootCommand extends CommandBase { final EntityPlayer player = (EntityPlayer) arg0; if (arg1.length == 0) { - player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot [zombie/spider/wolf]")); + player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot ")); return; } @@ -184,7 +184,7 @@ public class LootCommand extends CommandBase { EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" + EnumChatFormatting.GREEN + "" + EnumChatFormatting.BOLD + " -------------------")); } else { - player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot [zombie/spider/wolf]")); + player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot ")); } } -- cgit