Merge pull request #1426 from thatsIch/e-overly-strong-cast
reduces overly strong type cast
This commit is contained in:
@@ -448,7 +448,7 @@ public class BaseBlockRender
|
||||
{
|
||||
if( block.hasBlockTileEntity() )
|
||||
{
|
||||
return (AEBaseTile) block.getTileEntity( w, x, y, z );
|
||||
return (IOrientable) block.getTileEntity( w, x, y, z );
|
||||
}
|
||||
else if( block instanceof IOrientableBlock )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user