Fix all ISBR always returning true even when not rendering anything #1308

This commit is contained in:
Bernhard Bonigl committed 2015-01-04 23:49:08 +01:00
1 parent 752930af7b
commit 724aa45b94
11 files changed
+23 -13

No files matched your search

@@ -37,8 +37,9 @@ public class SlimePadRender implements ISimpleBlockRenderingHandler
float[] size = size(metadata % 8);
renderer.setRenderBounds(size[0], 0.5f, size[1], size[2], 0.6875f, size[3]);
BlockSkinRenderHelper.renderLiquidBlock(((SlimePad) block).getNubIcon(metadata), ((SlimePad) block).getNubIcon(metadata), x, y, z, renderer, world);
return true;
}
return true;
return false;
}
float[] size (int meta)