Fixes #2391. Initial forward/up could never be null thus the initial orientation was never set.
This commit is contained in:
parent
2ab1fc0adf
commit
af6310b13e
|
@ -189,10 +189,7 @@ public class AEBaseItemBlock extends ItemBlock
|
||||||
|
|
||||||
if( ori.canBeRotated() && !this.blockType.hasCustomRotation() )
|
if( ori.canBeRotated() && !this.blockType.hasCustomRotation() )
|
||||||
{
|
{
|
||||||
if( ori.getForward() == null || ori.getUp() == null )
|
ori.setOrientation( forward, up );
|
||||||
{
|
|
||||||
ori.setOrientation( forward, up );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( tile instanceof IGridProxyable )
|
if( tile instanceof IGridProxyable )
|
||||||
|
|
Loading…
Reference in a new issue