Skip to content

Commit

Permalink
Fix chests dropping their contents when upgraded. Closes progwml6#197
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbegt committed Aug 19, 2019
1 parent 55a7af2 commit f14408f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ else if (tileEntity instanceof ChestTileEntity)

tileEntity.updateContainingBlockInfo();

world.removeBlock(blockPos, false);
world.removeTileEntity(blockPos);
world.removeBlock(blockPos, false);

BlockState iBlockState = ChestType.get(this.type.target).with(ChestBlock.FACING, chestFacing);

Expand Down

0 comments on commit f14408f

Please sign in to comment.