Hopefully fixed an issue

This commit is contained in:
Aidan C. Brady 2015-03-25 14:10:07 -04:00
parent 19e0530253
commit 84088506e0

View file

@ -246,10 +246,10 @@ public class MachineRenderingHandler implements ISimpleBlockRenderingHandler
if(tile instanceof TileEntityBasicBlock)
{
if(((TileEntityBasicBlock)tile).getFacing() >= 2)
if(((TileEntityBasicBlock)tile).facing >= 2)
{
renderer.uvRotateTop = MekanismRenderer.directionMap[((TileEntityBasicBlock)tile).getFacing()-2];
renderer.uvRotateBottom = MekanismRenderer.directionMap[((TileEntityBasicBlock)tile).getFacing()-2];
renderer.uvRotateTop = MekanismRenderer.directionMap[((TileEntityBasicBlock)tile).facing-2];
renderer.uvRotateBottom = MekanismRenderer.directionMap[((TileEntityBasicBlock)tile).facing-2];
}
}