From 3e1f75e32253bca3312f478a60d315bec37bc112 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 21 Jan 2024 14:06:34 +0100 Subject: Bump to 1.20.4 --- src/main/kotlin/moe/nea/firmament/repo/ItemCache.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament/repo') diff --git a/src/main/kotlin/moe/nea/firmament/repo/ItemCache.kt b/src/main/kotlin/moe/nea/firmament/repo/ItemCache.kt index f6ae2aa..0688497 100644 --- a/src/main/kotlin/moe/nea/firmament/repo/ItemCache.kt +++ b/src/main/kotlin/moe/nea/firmament/repo/ItemCache.kt @@ -116,8 +116,8 @@ object ItemCache : IReloadable { lore.forEach { newLore.add( NbtString.of( - Text.Serializer.toJson( - Text.Serializer.fromJson(it.asString())!!.applyLoreReplacements(loreReplacements) + Text.Serialization.toJsonString( + Text.Serialization.fromJson(it.asString())!!.applyLoreReplacements(loreReplacements) ) ) ) -- cgit