diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-06-23 00:24:56 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-06-23 00:24:56 +0200 |
| commit | cd81fc6b189a14422e0a70324be65b6618ef04a6 (patch) | |
| tree | bafa90954f1fbfe5a5dd710375cd75d1ae603265 /src/main/kotlin/util | |
| parent | 39e979ed221c3b05e505ad1f54db970074906420 (diff) | |
| download | Firmament-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.kt | 2 |
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) } } |
