From 36d8aba64478210774786d15f859e40340d8559c Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Sat, 13 Oct 2012 17:05:51 -0700 Subject: [PATCH] Creative no longer uses up Facades from Inv See #334 --- common/buildcraft/transport/ItemFacade.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/buildcraft/transport/ItemFacade.java b/common/buildcraft/transport/ItemFacade.java index 4165c7b2..c9f3ebb2 100644 --- a/common/buildcraft/transport/ItemFacade.java +++ b/common/buildcraft/transport/ItemFacade.java @@ -80,7 +80,8 @@ public class ItemFacade extends ItemBuildCraft { return true; } else { if (((TileGenericPipe)tile).addFacade(Orientations.values()[side], ItemFacade.getBlockId(stack.getItemDamage()), ItemFacade.getMetaData(stack.getItemDamage()))){ - stack.stackSize--; + if (!entityplayer.capabilities.isCreativeMode) + stack.stackSize--; return true; } return false;