aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-06-23 00:24:56 +0200
committerLinnea Gräf <nea@nea.moe>2025-06-23 00:24:56 +0200
commitcd81fc6b189a14422e0a70324be65b6618ef04a6 (patch)
treebafa90954f1fbfe5a5dd710375cd75d1ae603265 /src/main/kotlin/util
parent39e979ed221c3b05e505ad1f54db970074906420 (diff)
downloadFirmament-cd81fc6b189a14422e0a70324be65b6618ef04a6.tar.gz
Firmament-cd81fc6b189a14422e0a70324be65b6618ef04a6.tar.bz2
Firmament-cd81fc6b189a14422e0a70324be65b6618ef04a6.zip
feat: Re export lore / display name from json
Diffstat (limited to 'src/main/kotlin/util')
-rw-r--r--src/main/kotlin/util/mc/NbtUtil.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/util/mc/NbtUtil.kt b/src/main/kotlin/util/mc/NbtUtil.kt
index cc98142..2cab1c7 100644
--- a/src/main/kotlin/util/mc/NbtUtil.kt
+++ b/src/main/kotlin/util/mc/NbtUtil.kt
@@ -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)
}
}