diff options
Diffstat (limited to 'src/main/java/me/Danker/commands/SlayerCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/SlayerCommand.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/SlayerCommand.java b/src/main/java/me/Danker/commands/SlayerCommand.java index 6c83934..e7f78f1 100644 --- a/src/main/java/me/Danker/commands/SlayerCommand.java +++ b/src/main/java/me/Danker/commands/SlayerCommand.java @@ -14,6 +14,7 @@ import net.minecraft.util.ChatComponentText; import net.minecraft.util.EnumChatFormatting; import java.text.NumberFormat; +import java.util.Collections; import java.util.List; import java.util.Locale; @@ -25,6 +26,11 @@ public class SlayerCommand extends CommandBase { } @Override + public List<String> getCommandAliases() { + return Collections.singletonList("slayer"); + } + + @Override public String getCommandUsage(ICommandSender arg0) { return "/" + getCommandName() + " [name]"; } |