made placer take the most top block from the rear inventory

This commit is contained in:
tgame14 2014-03-20 19:22:07 +02:00
parent 70db55836d
commit 140d7a4661

View file

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