Adjusted TilePlacer to place exact block data

This commit is contained in:
tgame14 2014-03-20 21:57:46 +02:00
parent 140d7a4661
commit abaa0cf7ef

View file

@ -82,7 +82,7 @@ public class TilePlacer extends TileInventory implements IRotatable, IPacketRece
if (tile instanceof IInventory)
{
ItemStack candidate = new ItemStack(InventoryUtility.takeTopItemBlockFromInventory((IInventory) tile, dir.ordinal()));
ItemStack candidate = InventoryUtility.takeTopBlockFromInventory((IInventory) tile, dir.ordinal());
if (candidate != null)
{
incrStackSize(0, candidate);