Implement #141 - ability to specify multiple commands (use ; as dilemeter)

This commit is contained in:
h31ix committed 2013-01-13 14:50:51 -05:00
1 parent 3acfe39489
commit a89fc97863
3 files changed
+10 -4

No files matched your search

@@ -211,6 +211,10 @@ public final class Utilities {
return false;
}
public static String [] getCommands(String command) {
return command.replaceAll("COMMAND\\[", "").replaceAll("]", "").split(";");
}
static {
INSTANT_BREAK.add(Material.RED_MUSHROOM);
INSTANT_BREAK.add(Material.RED_ROSE);