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
@@ -290,7 +290,7 @@ public class ContainerCraftConfirm extends AEBaseContainer
if ( ah instanceof PartPatternTerminal )
OriginalGui = GuiBridge.GUI_PATTERN_TERMINAL;
if ( result != null && simulation == false )
if ( result != null && !simulation )
{
ICraftingGrid cc = getGrid().getCache( ICraftingGrid.class );
ICraftingLink g = cc.submitJob( result, null, selectedCpu == -1 ? null : cpus.get( selectedCpu ).cpu, true, getActionSrc() );