Merge remote-tracking branch 'origin/master'

This commit is contained in:
Brian Neumann-Fopiano 2023-04-12 18:02:18 -04:00
commit fe40f12d2e

View File

@ -7,7 +7,7 @@ public record Identifier(String namespace, String key) {
private static final String DEFAULT_NAMESPACE = "minecraft";
public static Identifier fromString(String id) {
String[] strings = id.split(":", 1);
String[] strings = id.split(":", 2);
if(strings.length == 1) {
return new Identifier(DEFAULT_NAMESPACE, strings[0]);
} else {