Simplified some control flow statements

This commit is contained in:
thatsIch
2014-10-09 21:33:31 +02:00
parent 6bc002fe63
commit 011ff54224
33 changed files with 64 additions and 78 deletions
@@ -141,7 +141,7 @@ public class TileSpatialIOPort extends AENetworkInvTile implements Callable
@Override
public boolean isItemValidForSlot(int i, ItemStack itemstack)
{
return (i == 0 ? isSpatialCell( itemstack ) : false);
return (i == 0 && isSpatialCell( itemstack ));
}
private boolean isSpatialCell(ItemStack cell)