Fix rannuncarpus destroying shulker box and other itemized TE data. closes #2419

This commit is contained in:
Vincent Lee committed 2017-10-19 08:32:02 -05:00
1 parent 91b4bb0a8b
commit 7b3e9a3118
1 file changed
+1
@@ -125,6 +125,7 @@ public class SubTileRannuncarpus extends SubTileFunctional {
if(ConfigHandler.blockBreakParticles)
supertile.getWorld().playEvent(2001, coords, Block.getStateId(stateToPlace));
validPositions.remove(coords);
ItemBlock.setTileEntityNBT(supertile.getWorld(), null, coords, stack);
TileEntity tile = supertile.getWorld().getTileEntity(coords);
if(tile != null && tile instanceof ISubTileContainer) {