0

Added alias support

This commit is contained in:
NEMESIS13cz
2017-05-09 15:31:13 +02:00
parent ca7b33dd26
commit 98f34d1dcd
5 changed files with 29 additions and 9 deletions

View File

@@ -11,6 +11,7 @@ public class ChainComponent implements ICommandComponent {
public String help;
public String execute;
public Type type;
public ArrayList<String> aliases = new ArrayList<String>();
public ChainComponent() {
components = new ArrayList<ICommandComponent>();
@@ -47,4 +48,8 @@ public class ChainComponent implements ICommandComponent {
public ArrayList<ICommandComponent> getComponents() {
return components;
}
public ArrayList<String> getAliases() {
return aliases;
}
}