Simplified if statement in isSteppable in Scale

This commit is contained in:
Bokros Bálint 2016-05-14 13:17:24 +02:00
parent 43686db0b0
commit 4aed0db284

View File

@ -17,10 +17,7 @@ public class Scale extends Field {
@Override
public boolean isSteppable()
{
if (boxStack.isEmpty())
return true;
return false;
return boxStack.isEmpty();
}
@Override