mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 23:47:21 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
fe40f12d2e
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user