0

added 'empty' commands (e.g /stop)

This commit is contained in:
NEMESIS13cz
2016-11-19 16:56:48 +01:00
parent 5358030f8d
commit cbe402fc73
6 changed files with 118 additions and 57 deletions

View File

@@ -0,0 +1,19 @@
package com.nemez.cmdmgr.component;
public class EmptyComponent extends ArgumentComponent {
@Override
public Object get(String input) {
return "";
}
@Override
public boolean valid(String input) {
return true;
}
@Override
public String getComponentInfo() {
return "<empty>";
}
}