aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/testutil
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-04-09 18:34:25 +0200
committerLinnea Gräf <nea@nea.moe>2025-05-05 00:17:08 +0200
commit76f86b5407981050042536ea9214907b53a9be90 (patch)
tree07b7e97084a1d45ffe438935e89195064f0677b5 /src/test/kotlin/testutil
parent72044baeff7da702a66b99afa084f3fe9ab7bbc2 (diff)
downloadFirmament-76f86b5407981050042536ea9214907b53a9be90.tar.gz
Firmament-76f86b5407981050042536ea9214907b53a9be90.tar.bz2
Firmament-76f86b5407981050042536ea9214907b53a9be90.zip
fix: resolving of custom block textures
Diffstat (limited to 'src/test/kotlin/testutil')
-rw-r--r--src/test/kotlin/testutil/ItemResources.kt2
1 files changed, 1 insertions, 1 deletions
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<NbtElement> = MC.currentOrDefaultRegistries.getOps(NbtOps.INSTANCE)