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)

This commit is contained in:
asiekierka 2015-01-18 16:20:06 +01:00
parent 3e5a2ae062
commit f8b2efbc35

View file

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