feat: Re export lore / display name from json

This commit is contained in:
Linnea Gräf
2025-06-23 00:24:56 +02:00
parent 39e979ed22
commit cd81fc6b18
2 changed files with 50 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ import net.minecraft.nbt.NbtElement
import net.minecraft.nbt.NbtList
fun Iterable<NbtElement>.toNbtList() = NbtList().also {
for(element in this) {
for (element in this) {
it.add(element)
}
}