From 6b244b341bd6933740493d9a5c72850e43145ad4 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 9 Apr 2014 20:02:34 -0500 Subject: [PATCH] Don't discriminate against blocks with custom rotation. --- block/AEBaseItemBlock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/AEBaseItemBlock.java b/block/AEBaseItemBlock.java index ec82e74e9..934437aaa 100644 --- a/block/AEBaseItemBlock.java +++ b/block/AEBaseItemBlock.java @@ -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 )