Fix copying BlockStates with fields (eg, Banner)
This commit is contained in:
parent
ee685bd2ac
commit
176c0ad39f
@ -32,7 +32,7 @@ public class CraftBlockEntityState<T extends TileEntity> extends CraftBlockState
|
|||||||
super(state);
|
super(state);
|
||||||
this.tileEntity = createSnapshot(state.snapshot);
|
this.tileEntity = createSnapshot(state.snapshot);
|
||||||
this.snapshot = tileEntity;
|
this.snapshot = tileEntity;
|
||||||
load(snapshot);
|
loadData(state.getSnapshotNBT());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void refreshSnapshot() {
|
public void refreshSnapshot() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user