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:
Ursprung
2e7de18840
Commit
730244056c
@ -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();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren