[HOTFIX] Fix crash for Resource Locations that use mod:something
format
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/Common/src/main/java/com/hypherionmc/craterlib/nojang/resources/ResourceIdentifier.java
|
||||||
|
+++ b/Common/src/main/java/com/hypherionmc/craterlib/nojang/resources/ResourceIdentifier.java
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
public ResourceIdentifier(String path) {
|
||||||
|
- this.internal = ResourceLocation.withDefaultNamespace(path);
|
||||||
|
+ this.internal = ResourceLocation.parse(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNamespace() {
|
Reference in New Issue
Block a user