Creative no longer uses up Facades from Inv

See #334
This commit is contained in:
CovertJaguar 2012-10-13 17:05:51 -07:00
parent 4f087ed26a
commit 36d8aba644

View file

@ -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;