Slight changes to glass pane top/bottom textures

This commit is contained in:
Arthur Uzulin committed 2013-09-21 21:01:57 +10:00
1 parent 2c946308ca
commit 86c19cf596
2 files changed
+12 -7

No files matched your search

@@ -25,6 +25,9 @@ public class PaneConnectedRender implements ISimpleBlockRenderingHandler {
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer) {
boolean temp = renderer.renderAllFaces;
renderer.renderAllFaces = true;
GlassPaneConnected pane = (GlassPaneConnected)block;
boolean flag = pane.canPaneConnectTo(world, x, y, z, EAST);
@@ -69,6 +72,8 @@ public class PaneConnectedRender implements ISimpleBlockRenderingHandler {
renderer.clearOverrideBlockTexture();
renderer.renderAllFaces = false;
return true;
}