Revert cast to match Java 6

This commit is contained in:
thatsIch
2015-05-21 21:00:45 +02:00
parent e7fe8b60de
commit 25fd03cb88
+2 -2
View File
@@ -627,7 +627,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
if( this.hasBlockTileEntity() ) if( this.hasBlockTileEntity() )
{ {
rotatable = this.getTileEntity( w, x, y, z ); rotatable = (IOrientable) this.getTileEntity( w, x, y, z );
} }
else if( this instanceof IOrientableBlock ) else if( this instanceof IOrientableBlock )
{ {
@@ -758,7 +758,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
if( this.hasBlockTileEntity() ) if( this.hasBlockTileEntity() )
{ {
ori = this.getTileEntity( w, x, y, z ); ori = (IOrientable) this.getTileEntity( w, x, y, z );
} }
else if( this instanceof IOrientableBlock ) else if( this instanceof IOrientableBlock )
{ {