From abaa0cf7ef0aa6d439e9a2b1ff2f71bb18888e85 Mon Sep 17 00:00:00 2001 From: tgame14 Date: Thu, 20 Mar 2014 21:57:46 +0200 Subject: [PATCH] Adjusted TilePlacer to place exact block data --- .../resonantinduction/mechanical/process/edit/TilePlacer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mechanical/src/main/java/resonantinduction/mechanical/process/edit/TilePlacer.java b/mechanical/src/main/java/resonantinduction/mechanical/process/edit/TilePlacer.java index 2b9e03d4c..ff7a25a19 100644 --- a/mechanical/src/main/java/resonantinduction/mechanical/process/edit/TilePlacer.java +++ b/mechanical/src/main/java/resonantinduction/mechanical/process/edit/TilePlacer.java @@ -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);