3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-10 05:20:04 +01:00

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(" ")) { for (String component : maskString.split(" ")) {
Mask current = null; Mask current = null;
if (component.length() == 0) {
continue;
}
if (component.charAt(0) == '#') { if (component.charAt(0) == '#') {
if (component.equalsIgnoreCase("#existing")) { if (component.equalsIgnoreCase("#existing")) {
current = new ExistingBlockMask(); current = new ExistingBlockMask();