Fix copying BlockStates with fields (eg, Banner)

This commit is contained in:
md_5 2024-03-06 06:57:15 +11:00
parent ee685bd2ac
commit 176c0ad39f
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -32,7 +32,7 @@ public class CraftBlockEntityState<T extends TileEntity> extends CraftBlockState
super(state);
this.tileEntity = createSnapshot(state.snapshot);
this.snapshot = tileEntity;
load(snapshot);
loadData(state.getSnapshotNBT());
}
public void refreshSnapshot() {