Allowed the use of ; instead of | when specifying blocks.

This commit is contained in:
sk89q 2010-11-26 21:33:17 -08:00
parent 9ce9ed3657
commit 76d7a14016

View File

@ -214,6 +214,7 @@ public class WorldEditListener extends PluginListener {
throws UnknownItemException, DisallowedItemException {
BlockType blockType;
arg = arg.replace("_", " ");
arg = arg.replace(";", "|");
String[] args0 = arg.split("\\|");
String[] args1 = args0[0].split(":", 2);
String testID = args1[0];