Simplified if statement in isSteppable in Scale
This commit is contained in:
parent
43686db0b0
commit
4aed0db284
@ -17,10 +17,7 @@ public class Scale extends Field {
|
||||
@Override
|
||||
public boolean isSteppable()
|
||||
{
|
||||
if (boxStack.isEmpty())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return boxStack.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user