Less breaking Shit, More Render Fixes.

This commit is contained in:
AlgorithmX2
2014-03-04 21:56:20 -06:00
parent d06c5d186b
commit 587803d3fa
2 changed files with 6 additions and 4 deletions
+6
View File
@@ -444,6 +444,12 @@ public class BaseBlockRender
{ {
if ( forward != null && up != null ) if ( forward != null && up != null )
{ {
if ( forward == ForgeDirection.UNKNOWN )
forward = ForgeDirection.SOUTH;
if ( up == ForgeDirection.UNKNOWN )
up = ForgeDirection.UP;
ForgeDirection west = Platform.crossProduct( forward, up ); ForgeDirection west = Platform.crossProduct( forward, up );
rotMat.put( 0, west.offsetX ); rotMat.put( 0, west.offsetX );
-4
View File
@@ -216,16 +216,12 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile
@Override @Override
public ForgeDirection getForward() public ForgeDirection getForward()
{ {
if ( forward == ForgeDirection.UNKNOWN )
return ForgeDirection.SOUTH;
return forward; return forward;
} }
@Override @Override
public ForgeDirection getUp() public ForgeDirection getUp()
{ {
if ( up == ForgeDirection.UNKNOWN )
return ForgeDirection.UP;
return up; return up;
} }