Fixes #2391. Initial forward/up could never be null thus the initial orientation was never set.

This commit is contained in:
Sebastian Hartte 2016-10-03 00:33:43 +02:00
parent 2ab1fc0adf
commit af6310b13e

View file

@ -188,12 +188,9 @@ public class AEBaseItemBlock extends ItemBlock
}
if( ori.canBeRotated() && !this.blockType.hasCustomRotation() )
{
if( ori.getForward() == null || ori.getUp() == null )
{
ori.setOrientation( forward, up );
}
}
if( tile instanceof IGridProxyable )
{