Remove double negations
This commit is contained in:
@@ -151,7 +151,7 @@ public class ContainerCraftConfirm extends AEBaseContainer
|
|||||||
if ( matched )
|
if ( matched )
|
||||||
matches++;
|
matches++;
|
||||||
|
|
||||||
if ( !found != matched )
|
if ( found == !matched )
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ public class ContainerCraftingStatus extends ContainerCraftingCPU
|
|||||||
if ( matched )
|
if ( matched )
|
||||||
matches++;
|
matches++;
|
||||||
|
|
||||||
if ( !found != matched )
|
if ( found == !matched )
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ public class PartToggleBus extends PartBasicState
|
|||||||
private void updateInternalState()
|
private void updateInternalState()
|
||||||
{
|
{
|
||||||
boolean intention = getIntention();
|
boolean intention = getIntention();
|
||||||
if ( intention != (connection != null) )
|
if ( intention == ( connection == null ) )
|
||||||
{
|
{
|
||||||
if ( proxy.getNode() != null && outerProxy.getNode() != null )
|
if ( proxy.getNode() != null && outerProxy.getNode() != null )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user