few hundred errors gone just like that

This commit is contained in:
Progwml6 committed 2014-01-01 09:16:34 -05:00
1 parent c5426eb992
commit 0ee7ac1718
28 files changed
+720 -718

No files matched your search

@@ -73,8 +73,8 @@ public class PaneRender implements ISimpleBlockRenderingHandler
tessellator.setColorOpaque_F(f * f1, f * f2, f * f3);
boolean flag = false;
boolean flag1 = false;
Icon icon;
Icon icon1;
IIcon icon;
IIcon icon1;
int meta = iblockaccess.getBlockMetadata(x, y, z);
icon = renderblocks.getBlockIconFromSideAndMetadata(pane, 0, meta);
icon1 = pane.getSideTextureIndex(meta);
@@ -126,10 +126,10 @@ public class PaneRender implements ISimpleBlockRenderingHandler
double xMidUp = (double) x + 0.5D + 0.0625D;
double zMidDown = ((double) z + 0.5D) - 0.0625D;
double zMidUp = (double) z + 0.5D + 0.0625D;
boolean west = pane.canConnectTo(iblockaccess.getBlockId(x, y, z - 1));
boolean east = pane.canConnectTo(iblockaccess.getBlockId(x, y, z + 1));
boolean south = pane.canConnectTo(iblockaccess.getBlockId(x - 1, y, z));
boolean north = pane.canConnectTo(iblockaccess.getBlockId(x + 1, y, z));
boolean west = pane.canConnectTo(iblockaccess.getBlock(x, y, z - 1));
boolean east = pane.canConnectTo(iblockaccess.getBlock(x, y, z + 1));
boolean south = pane.canConnectTo(iblockaccess.getBlock(x - 1, y, z));
boolean north = pane.canConnectTo(iblockaccess.getBlock(x + 1, y, z));
boolean renderAbove = pane.shouldSideBeRendered(iblockaccess, x, y + 1, z, 1);
boolean renderBelow = pane.shouldSideBeRendered(iblockaccess, x, y - 1, z, 0);
if ((!south || !north) && (south || north || west || east))