diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/legacycompat/SignCompatibilityHandler.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/legacycompat/SignCompatibilityHandler.java index 10d01b9ee9..bf190a7db1 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/legacycompat/SignCompatibilityHandler.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/legacycompat/SignCompatibilityHandler.java @@ -25,6 +25,7 @@ import com.google.gson.JsonPrimitive; import com.google.gson.JsonSyntaxException; import com.sk89q.worldedit.internal.util.DeprecationUtil; +import com.sk89q.worldedit.util.concurrency.LazyReference; import com.sk89q.worldedit.world.block.BaseBlock; import org.enginehub.linbus.tree.LinStringTag; import org.enginehub.linbus.tree.LinTagType; @@ -71,6 +72,7 @@ public BaseBlock updateNbt(BaseBlock block) { jsonTextObject.add("text", jsonElement); newTag.put("Text" + (i + 1), LinStringTag.of(jsonTextObject.toString())); } + block = block.toBaseBlock(LazyReference.computed(newTag.build())); return block; } }