From 39994359d137267185c3e1c84fcb879f355de614 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 6 Mar 2024 06:57:15 +1100 Subject: [PATCH] Fix copying BlockStates with fields (eg, Banner) By: md_5 --- .../org/bukkit/craftbukkit/block/CraftBlockEntityState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java index 6ef8f5ab17..e5ad58d9b4 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockEntityState.java @@ -32,7 +32,7 @@ public class CraftBlockEntityState extends CraftBlockState super(state); this.tileEntity = createSnapshot(state.snapshot); this.snapshot = tileEntity; - load(snapshot); + loadData(state.getSnapshotNBT()); } public void refreshSnapshot() {