Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-17 05:40:06 +01:00
Backport old method of creating ResourceLocations
Dieser Commit ist enthalten in:
Ursprung
0ed74d0d92
Commit
dad9d83e8a
@ -13,11 +13,11 @@ public class VersionHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static ResourceLocation createResourceLocation(String composed) {
|
public static ResourceLocation createResourceLocation(String composed) {
|
||||||
return ResourceLocation.parse(composed);
|
return new ResourceLocation(composed);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ResourceLocation createResourceLocation(String namespace, String path) {
|
public static ResourceLocation createResourceLocation(String namespace, String path) {
|
||||||
return ResourceLocation.fromNamespaceAndPath(namespace, path);
|
return new ResourceLocation(namespace, path);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren