diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-07-24 01:55:58 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-07-24 01:55:58 -0400 |
commit | 0aa907f911d77a9ead77c97034f55bc4c82ecf12 (patch) | |
tree | b56032b75c8f14aea89deab3f6f4bf4ac1cbaca7 /src/main/java/me | |
parent | bc3f389c52aef41f6fb4351e8d0a5a8fed8336ef (diff) | |
download | SkyblockMod-0aa907f911d77a9ead77c97034f55bc4c82ecf12.tar.gz SkyblockMod-0aa907f911d77a9ead77c97034f55bc4c82ecf12.tar.bz2 SkyblockMod-0aa907f911d77a9ead77c97034f55bc4c82ecf12.zip |
Add /dankersskyblockmod alias to /dsm
Diffstat (limited to 'src/main/java/me')
-rw-r--r-- | src/main/java/me/Danker/commands/DankerGuiCommand.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/DankerGuiCommand.java b/src/main/java/me/Danker/commands/DankerGuiCommand.java index dc6845d..7c0bbd6 100644 --- a/src/main/java/me/Danker/commands/DankerGuiCommand.java +++ b/src/main/java/me/Danker/commands/DankerGuiCommand.java @@ -14,6 +14,8 @@ import net.minecraft.util.StringUtils; import java.awt.*; import java.awt.datatransfer.StringSelection; +import java.util.Collections; +import java.util.List; public class DankerGuiCommand extends CommandBase { @@ -23,6 +25,11 @@ public class DankerGuiCommand extends CommandBase { } @Override + public List<String> getCommandAliases() { + return Collections.singletonList("dankersskyblockmod"); + } + + @Override public String getCommandUsage(ICommandSender arg0) { return "/" + getCommandName(); } |