Found some more valid facades!

This commit is contained in:
Cisien 2014-02-23 17:31:47 -08:00
parent 2443f52e16
commit 566760b270
2 changed files with 94 additions and 95 deletions

View file

@ -153,6 +153,7 @@ public class ItemFacade extends ItemBuildCraft {
break; break;
} }
} }
} catch(IndexOutOfBoundsException _){
} catch(Throwable t) { } catch(Throwable t) {
t.printStackTrace(); t.printStackTrace();
} }
@ -184,11 +185,9 @@ public class ItemFacade extends ItemBuildCraft {
return false; return false;
} }
if(!block.renderAsNormalBlock()) { if(block.getBlockBoundsMaxX() != 1.0 || block.getBlockBoundsMaxY() != 1.0 || block.getBlockBoundsMaxZ() != 1.0){
if((block != Blocks.glass && block != Blocks.stained_glass)) {
return false; return false;
} }
}
if(block instanceof BlockSpring || block instanceof BlockGenericPipe) if(block instanceof BlockSpring || block instanceof BlockGenericPipe)
{ {