Fixed missing external data when restoring a schematic

This commit is contained in:
Unknown 2019-12-21 03:27:11 +01:00 committed by unknown
parent 38a9c9ed5d
commit 30bd6f2120

View file

@ -1176,7 +1176,7 @@ public class JumpSequencer extends AbstractSequencer {
jumpBlock.block, jumpBlock.blockMeta, tileEntitySource);
}
final TileEntity tileEntityTarget = jumpBlock.weakTileEntity == null ? null : worldTarget.getTileEntity(blockPosTarget);
final TileEntity tileEntityTarget = jumpBlock.blockNBT == null ? null : worldTarget.getTileEntity(blockPosTarget);
blockTransformer.restoreExternals(worldTarget, blockPosTarget,
blockStateTarget, tileEntityTarget, transformation, external.getValue());
}