diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-02-16 17:35:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 17:35:45 -0500 |
commit | a49a841d44c682036099db3bbb2c1edef609d60c (patch) | |
tree | 892f6515fc3b38661a598d225f28b97651824cf1 /src/main/java/me/Danker/commands/SlayerCommand.java | |
parent | b0a07f3b5861415e3d5b3f24dce06b03bf34e13d (diff) | |
parent | 5d20b7fec0a3f9a866cad488f73fa061cc66efd9 (diff) | |
download | SkyblockMod-a49a841d44c682036099db3bbb2c1edef609d60c.tar.gz SkyblockMod-a49a841d44c682036099db3bbb2c1edef609d60c.tar.bz2 SkyblockMod-a49a841d44c682036099db3bbb2c1edef609d60c.zip |
Merge branch 'development' into patch-1
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]"; } |