Merge pull request #239 from thatsIch/emptyif

Removed empty if cases
This commit is contained in:
FireBall1725 2014-10-04 09:38:11 -04:00
commit 739b4f8432
2 changed files with 2 additions and 9 deletions

View file

@ -139,10 +139,7 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul
}
catch (Exception e)
{
if ( errCount == -1 )
{
}
else if ( errCount++ >= 5 )
if ( errCount++ >= 5 )
{
CraftGuideLog
.log( "CraftGuide DefaultRecipeProvider: Stack trace limit reached, further stack traces from this invocation will not be logged to the console. They will still be logged to (.minecraft)/config/CraftGuide/CraftGuide.log",

View file

@ -271,11 +271,7 @@ public class ToolMassCannon extends AEBasePoweredItem implements IStorageCell
return;
Block whatsThere = w.getBlock( x, y, z );
if ( whatsThere == AEApi.instance().blocks().blockPaint.block() )
{
}
else if ( whatsThere.isReplaceable( w, x, y, z ) && w.isAirBlock( x, y, z ) )
if ( whatsThere.isReplaceable( w, x, y, z ) && w.isAirBlock( x, y, z ) )
{
w.setBlock( x, y, z, AEApi.instance().blocks().blockPaint.block(), 0, 3 );
}