From cd9e274cca3e8b1f1db7e399e69924876fe9957d Mon Sep 17 00:00:00 2001 From: asiekierka Date: Tue, 12 Jan 2016 17:59:11 +0100 Subject: [PATCH] fix #3157, fix #3166 --- common/buildcraft/core/builders/BuildingItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/core/builders/BuildingItem.java b/common/buildcraft/core/builders/BuildingItem.java index 5f1c5f4b..7508adc3 100755 --- a/common/buildcraft/core/builders/BuildingItem.java +++ b/common/buildcraft/core/builders/BuildingItem.java @@ -182,7 +182,7 @@ public class BuildingItem implements IBuildingItem, ISerializable { context.world().playAuxSFXAtEntity(null, 2001, destX, destY, destZ, Block.getIdFromBlock(oldBlock) + (oldMeta << 12)); - } else { + } else if (slotToBuild.stackConsumed != null) { for (ItemStack s : slotToBuild.stackConsumed) { if (s != null && !(s.getItem() instanceof ItemBlock && Block.getBlockFromItem(s.getItem()) instanceof BlockBuildTool)) { InvUtils.dropItems(context.world(), s, destX, destY, destZ);