Fix chests dropping their contents when upgraded. Closes #197
This commit is contained in:
parent
55a7af27e3
commit
f14408fbef
|
|
@ -121,8 +121,8 @@ public class ChestChangerItem extends TooltipItem
|
||||||
|
|
||||||
tileEntity.updateContainingBlockInfo();
|
tileEntity.updateContainingBlockInfo();
|
||||||
|
|
||||||
world.removeBlock(blockPos, false);
|
|
||||||
world.removeTileEntity(blockPos);
|
world.removeTileEntity(blockPos);
|
||||||
|
world.removeBlock(blockPos, false);
|
||||||
|
|
||||||
BlockState iBlockState = ChestType.get(this.type.target).with(ChestBlock.FACING, chestFacing);
|
BlockState iBlockState = ChestType.get(this.type.target).with(ChestBlock.FACING, chestFacing);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue