3
0
Mirror von https://github.com/Moulberry/AxiomPaperPlugin.git synchronisiert 2024-11-09 01:50:05 +01:00

Backport old method of creating ResourceLocations

Dieser Commit ist enthalten in:
Moulberry 2024-06-27 02:46:13 +08:00
Ursprung 24c2266e8a
Commit f77162d17e

Datei anzeigen

@ -12,11 +12,11 @@ public class VersionHelper {
}
public static ResourceLocation createResourceLocation(String composed) {
return ResourceLocation.parse(composed);
return new ResourceLocation(composed);
}
public static ResourceLocation createResourceLocation(String namespace, String path) {
return ResourceLocation.fromNamespaceAndPath(namespace, path);
return new ResourceLocation(namespace, path);
}
}