made placer take the most top block from the rear inventory
This commit is contained in:
parent
70db55836d
commit
140d7a4661
1 changed files with 112 additions and 112 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue