Redundant type casts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* This file is part of Applied Energistics 2.
|
||||
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
|
||||
*
|
||||
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
@@ -22,7 +22,6 @@ package appeng.block;
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import com.google.common.base.Optional;
|
||||
@@ -628,7 +627,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
|
||||
|
||||
if( this.hasBlockTileEntity() )
|
||||
{
|
||||
rotatable = (IOrientable) this.getTileEntity( w, x, y, z );
|
||||
rotatable = this.getTileEntity( w, x, y, z );
|
||||
}
|
||||
else if( this instanceof IOrientableBlock )
|
||||
{
|
||||
@@ -759,7 +758,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
|
||||
|
||||
if( this.hasBlockTileEntity() )
|
||||
{
|
||||
ori = (IOrientable) this.getTileEntity( w, x, y, z );
|
||||
ori = this.getTileEntity( w, x, y, z );
|
||||
}
|
||||
else if( this instanceof IOrientableBlock )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user