From 3230bcac5176badd60bbb7f3f6d7d1eee00213f9 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sun, 7 Apr 2013 15:05:01 -0500 Subject: [PATCH] Minor patch to allow other mo blocks to remove facades the same was as BC Pipes. --- common/buildcraft/transport/ItemFacade.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/buildcraft/transport/ItemFacade.java b/common/buildcraft/transport/ItemFacade.java index cd215279..41625e15 100644 --- a/common/buildcraft/transport/ItemFacade.java +++ b/common/buildcraft/transport/ItemFacade.java @@ -140,6 +140,12 @@ public class ItemFacade extends ItemBuildCraft { return ((encoded & 0xFFF0) >>> 4); } + @Override + public boolean shouldPassSneakingClickToBlock(World worldObj, int x, int y, int z ) { + // Simply send shift click to the pipe / mod block. + return true; + } + public static void addFacade(ItemStack itemStack) { allFacades.add(new ItemStack(BuildCraftTransport.facadeItem, 1, ItemFacade.encode(itemStack.itemID, itemStack.getItemDamage())));