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
|
@Override
|
||||||
public boolean isSteppable()
|
public boolean isSteppable()
|
||||||
{
|
{
|
||||||
if (boxStack.isEmpty())
|
return boxStack.isEmpty();
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user