mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2026-06-04 09:26:54 +00:00
Fixed DefaultBlockParser not working for things with _
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ class DefaultBlockParser extends InputParser<BlockStateHolder> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Pattern blockStatePattern = Pattern.compile("([a-z:]+)(?:\\[([a-zA-Z0-9=, ]+)])?", Pattern.CASE_INSENSITIVE);
|
private static Pattern blockStatePattern = Pattern.compile("([a-z:_]+)(?:\\[([a-zA-Z0-9=, _]+)])?", Pattern.CASE_INSENSITIVE);
|
||||||
private static String[] EMPTY_STRING_ARRAY = new String[]{};
|
private static String[] EMPTY_STRING_ARRAY = new String[]{};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user