aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/testutil
diff options
context:
space:
mode:
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)