Auto remove un needed things in the code

This commit is contained in:
modmuss50 2016-04-03 14:34:39 +01:00
parent 7e7fcf2ad9
commit 510f969c94
105 changed files with 141 additions and 348 deletions

View file

@ -113,11 +113,7 @@ public class TileRecycler extends TilePowerAcceptor implements IWrenchable, IInv
public boolean canRecycle()
{
if (getStackInSlot(input1) != null && hasSlotGotSpace(input1))
{
return true;
}
return false;
return getStackInSlot(input1) != null && hasSlotGotSpace(input1);
}
public boolean hasSlotGotSpace(int slot)
@ -163,11 +159,7 @@ public class TileRecycler extends TilePowerAcceptor implements IWrenchable, IInv
@Override
public boolean wrenchCanRemove(EntityPlayer entityPlayer)
{
if (entityPlayer.isSneaking())
{
return true;
}
return false;
return entityPlayer.isSneaking();
}
@Override