Also work for EntityType for DisguiseRadius

This commit is contained in:
libraryaddict 2014-06-12 18:05:34 +12:00
parent 85ff3769cf
commit 0056898e01

View File

@ -46,7 +46,7 @@ public class DisguiseRadiusCommand extends BaseDisguiseCommand {
sendCommandUsage(sender);
return true;
}
if (args[0].equalsIgnoreCase("entitytypes")) {
if (args[0].equalsIgnoreCase("entitytype") || args[0].equalsIgnoreCase("entitytypes")) {
ArrayList<String> classes = new ArrayList<String>();
for (Class c : validClasses) {
classes.add(c.getSimpleName());