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