Fixed missing external data when restoring a schematic
This commit is contained in:
parent
38a9c9ed5d
commit
30bd6f2120
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ public class JumpSequencer extends AbstractSequencer {
|
||||||
jumpBlock.block, jumpBlock.blockMeta, tileEntitySource);
|
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,
|
blockTransformer.restoreExternals(worldTarget, blockPosTarget,
|
||||||
blockStateTarget, tileEntityTarget, transformation, external.getValue());
|
blockStateTarget, tileEntityTarget, transformation, external.getValue());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue