Added a command to list schematics and the abilitiy to autodetect schematic format

This commit is contained in:
zml2008
2012-03-28 12:30:36 -07:00
parent 7812dd6a09
commit 33752eb058
5 changed files with 101 additions and 10 deletions

View File

@ -223,7 +223,7 @@ public abstract class CommandsManager<T> {
String previous = helpMessages.put(key, helpMessage);
if (previous != null && !previous.replaceAll("^/[^ ]+ ", "").equals(helpMessage.replaceAll("^/[^ ]+ ", ""))) {
helpMessages.put(key, previous+"\n\n"+helpMessage);
helpMessages.put(key, previous + "\n\n" + helpMessage);
}
}