Don't discriminate against blocks with custom rotation.

This commit is contained in:
AlgorithmX2
2014-04-09 20:02:34 -05:00
parent 2450267957
commit 6b244b341b
+2 -2
View File
@@ -123,7 +123,7 @@ public class AEBaseItemBlock extends ItemBlock
if ( super.placeBlockAt( stack, player, w, x, y, z, side, hitX, hitY, hitZ, metadata ) )
{
if ( blockType.hasBlockTileEntity() && !blockType.hasCustomRotation() )
if ( blockType.hasBlockTileEntity() )
{
AEBaseTile tile = blockType.getTileEntity( w, x, y, z );
ori = tile;
@@ -131,7 +131,7 @@ public class AEBaseItemBlock extends ItemBlock
if ( tile == null )
return true;
if ( ori.canBeRotated() )
if ( ori.canBeRotated() && !blockType.hasCustomRotation() )
{
if ( ori.getForward() == null || ori.getUp() == null || // null
tile.getForward() == ForgeDirection.UNKNOWN || ori.getUp() == ForgeDirection.UNKNOWN )