mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Allowed the use of ; instead of | when specifying blocks.
This commit is contained in:
parent
9ce9ed3657
commit
76d7a14016
@ -214,6 +214,7 @@ public class WorldEditListener extends PluginListener {
|
|||||||
throws UnknownItemException, DisallowedItemException {
|
throws UnknownItemException, DisallowedItemException {
|
||||||
BlockType blockType;
|
BlockType blockType;
|
||||||
arg = arg.replace("_", " ");
|
arg = arg.replace("_", " ");
|
||||||
|
arg = arg.replace(";", "|");
|
||||||
String[] args0 = arg.split("\\|");
|
String[] args0 = arg.split("\\|");
|
||||||
String[] args1 = args0[0].split(":", 2);
|
String[] args1 = args0[0].split(":", 2);
|
||||||
String testID = args1[0];
|
String testID = args1[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user