From dad9d83e8acef0f086811c6334f53edfc96d6780 Mon Sep 17 00:00:00 2001 From: Moulberry Date: Thu, 27 Jun 2024 02:46:13 +0800 Subject: [PATCH] Backport old method of creating ResourceLocations --- src/main/java/com/moulberry/axiom/VersionHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/moulberry/axiom/VersionHelper.java b/src/main/java/com/moulberry/axiom/VersionHelper.java index 3418349..9f3b57a 100644 --- a/src/main/java/com/moulberry/axiom/VersionHelper.java +++ b/src/main/java/com/moulberry/axiom/VersionHelper.java @@ -13,11 +13,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); } }