From 76f86b5407981050042536ea9214907b53a9be90 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 9 Apr 2025 18:34:25 +0200 Subject: fix: resolving of custom block textures --- src/test/kotlin/testutil/ItemResources.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/kotlin/testutil/ItemResources.kt b/src/test/kotlin/testutil/ItemResources.kt index 107b565..1269269 100644 --- a/src/test/kotlin/testutil/ItemResources.kt +++ b/src/test/kotlin/testutil/ItemResources.kt @@ -24,7 +24,7 @@ object ItemResources { } fun loadSNbt(path: String): NbtCompound { - return StringNbtReader.parse(loadString(path)) + return StringNbtReader.readCompound(loadString(path)) } fun getNbtOps(): RegistryOps = MC.currentOrDefaultRegistries.getOps(NbtOps.INSTANCE) -- cgit