Merge pull request #1426 from thatsIch/e-overly-strong-cast
reduces overly strong type cast
This commit is contained in:
@@ -628,7 +628,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
|
||||
|
||||
if( this.hasBlockTileEntity() )
|
||||
{
|
||||
rotatable = (AEBaseTile) this.getTileEntity( w, x, y, z );
|
||||
rotatable = (IOrientable) this.getTileEntity( w, x, y, z );
|
||||
}
|
||||
else if( this instanceof IOrientableBlock )
|
||||
{
|
||||
@@ -759,7 +759,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
|
||||
|
||||
if( this.hasBlockTileEntity() )
|
||||
{
|
||||
ori = (AEBaseTile) this.getTileEntity( w, x, y, z );
|
||||
ori = (IOrientable) this.getTileEntity( w, x, y, z );
|
||||
}
|
||||
else if( this instanceof IOrientableBlock )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user