diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-11-20 22:47:03 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-11-20 22:47:03 -0500 |
commit | 2f0925e3ceb2af3a96de034a3f6e390ca15ba1d9 (patch) | |
tree | ae929077ed4e7cfb19f4b4973cc52d71a4a7e8b5 /src/main/java/me/Danker/commands/InventoryCommand.java | |
parent | 8bd93c4ff81de99f73d24314e0bfd180e6f25255 (diff) | |
download | SkyblockMod-2f0925e3ceb2af3a96de034a3f6e390ca15ba1d9.tar.gz SkyblockMod-2f0925e3ceb2af3a96de034a3f6e390ca15ba1d9.tar.bz2 SkyblockMod-2f0925e3ceb2af3a96de034a3f6e390ca15ba1d9.zip |
Add /inv alias to /inventory
Diffstat (limited to 'src/main/java/me/Danker/commands/InventoryCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/InventoryCommand.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/InventoryCommand.java b/src/main/java/me/Danker/commands/InventoryCommand.java index 8fb4d5b..d4b35ae 100644 --- a/src/main/java/me/Danker/commands/InventoryCommand.java +++ b/src/main/java/me/Danker/commands/InventoryCommand.java @@ -27,6 +27,7 @@ import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Base64; +import java.util.Collections; import java.util.List; public class InventoryCommand extends CommandBase { @@ -39,6 +40,11 @@ public class InventoryCommand extends CommandBase { } @Override + public List<String> getCommandAliases() { + return Collections.singletonList("inv"); + } + + @Override public String getCommandUsage(ICommandSender arg0) { return "/" + getCommandName() + " [name]"; } |