aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/me/Danker/commands/InventoryCommand.java6
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]";
}