Permalink
Browse files

Fixed DefaultBlockParser not working for things with _

  • Loading branch information...
me4502 committed Jul 9, 2018
1 parent 4ba6a36 commit c3b4dcf69e3fabed0514459d0f77650ad6992ed7
@@ -99,7 +99,7 @@ public BlockStateHolder parseFromInput(String input, ParserContext context)
}
}
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[]{};
/**

0 comments on commit c3b4dcf

Please sign in to comment.