diff --git a/fabric-1.20.1/src/main/java/io/tebex/plugin/gui/TebexItemBuilder.java b/fabric-1.20.1/src/main/java/io/tebex/plugin/gui/TebexItemBuilder.java index d54fe14..64d03e2 100644 --- a/fabric-1.20.1/src/main/java/io/tebex/plugin/gui/TebexItemBuilder.java +++ b/fabric-1.20.1/src/main/java/io/tebex/plugin/gui/TebexItemBuilder.java @@ -39,10 +39,10 @@ public ItemStack buildItemStack() { NbtList loreList = new NbtList(); lore.forEach(loreEntry -> { - loreList.add(NbtString.of(loreEntry)); + loreList.add(NbtString.of(Text.Serializer.toJson(Text.of(loreEntry)))); }); displayTag.put(ItemStack.LORE_KEY, loreList); - displayTag.putString("Name", this.displayName); + displayTag.putString("Name", Text.Serializer.toJson(Text.of(this.displayName))); for (ItemStack.TooltipSection tooltipSection : hideFlags) { stack.addHideFlag(tooltipSection); }