Replaced equals enum equality check with ==

This commit is contained in:
thatsIch
2015-01-01 21:16:04 +01:00
parent 8179259afa
commit eed0c11d7f
13 changed files with 29 additions and 29 deletions
@@ -185,7 +185,7 @@ public class TileCharger extends AENetworkPowerTile implements ICrankable
@Override
public boolean canCrankAttach(ForgeDirection directionToCrank)
{
return this.getUp().equals( directionToCrank ) || this.getUp().getOpposite().equals( directionToCrank );
return this.getUp() == directionToCrank || this.getUp().getOpposite() == directionToCrank;
}
@Override