Simplified some control flow statements
This commit is contained in:
@@ -335,7 +335,7 @@ public abstract class AEBaseGui extends GuiContainer
|
||||
return;
|
||||
}
|
||||
|
||||
if ( disableShiftClick == false && isShiftKeyDown() )
|
||||
if ( !disableShiftClick && isShiftKeyDown() )
|
||||
{
|
||||
disableShiftClick = true;
|
||||
|
||||
|
||||
@@ -307,8 +307,8 @@ public class GuiCraftConfirm extends AEBaseGui
|
||||
{
|
||||
updateCPUButtonText();
|
||||
|
||||
start.enabled = ccc.noCPU || isSimulation() ? false : true;
|
||||
selectCPU.enabled = isSimulation() ? false : true;
|
||||
start.enabled = !(ccc.noCPU || isSimulation());
|
||||
selectCPU.enabled = !isSimulation();
|
||||
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
|
||||
Reference in New Issue
Block a user