From f8b2efbc352c8665784e2a06a3f095ba678b4855 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sun, 18 Jan 2015 16:20:06 +0100 Subject: [PATCH] make checks even more liberal (we still catch pistons and ExU pipes that way, but we also catch all glass types which is far more important) --- common/buildcraft/transport/ItemFacade.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/buildcraft/transport/ItemFacade.java b/common/buildcraft/transport/ItemFacade.java index 7eb2eda4..12081c44 100644 --- a/common/buildcraft/transport/ItemFacade.java +++ b/common/buildcraft/transport/ItemFacade.java @@ -301,14 +301,6 @@ public class ItemFacade extends ItemBuildCraft implements IFacadeItem, IPipePlug private static boolean isBlockValidForFacade(Block block) { try { - /*if (block.getRenderType() != 0 && block.getRenderType() != 31 && block.getRenderType() != 39) { - return false; - }*/ - - if (!block.renderAsNormalBlock() && !block.isOpaqueCube()) { - return false; - } - if (block.getBlockBoundsMinX() != 0.0 || block.getBlockBoundsMinY() != 0.0 || block.getBlockBoundsMinZ() != 0.0) { return false; }