Fixed a mask parsing error that raised java.lang.StringIndexOutOfBoundsException.

Dieser Commit ist enthalten in:
sk89q 2011-06-04 12:22:33 -07:00
Ursprung 2e7de18840
Commit 730244056c

Datei anzeigen

@ -415,6 +415,10 @@ public class WorldEdit {
for (String component : maskString.split(" ")) {
Mask current = null;
if (component.length() == 0) {
continue;
}
if (component.charAt(0) == '#') {
if (component.equalsIgnoreCase("#existing")) {
current = new ExistingBlockMask();