Actually fix #9. Some other cleanup in CTM.

This commit is contained in:
tterrag1098 committed 2015-01-07 21:47:45 -05:00
1 parent fdb8cb7903
commit fa2f71c287
4 files changed
+48 -42

No files matched your search

@@ -16,7 +16,7 @@ public class RenderBlocksColumn extends RenderBlocks {
}
boolean connected(IBlockAccess world, int x, int y, int z, Block block, int meta) {
return world.getBlock(x, y, z).equals(block) && world.getBlockMetadata(x, y, z) == meta;
return CTM.getBlockOrFacade(world, x, y, z, -1).equals(block) && CTM.getBlockOrFacadeMetadata(world, x, y, z, -1) == meta;
}
@Override