government mandated curly braces

This commit is contained in:
Leijurv 2018-08-18 12:36:40 -07:00
parent d60e0ced67
commit 494a4a8d18
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -225,9 +225,9 @@ public abstract class Movement implements Helper, MovementHelper {
* @return
*/
public MovementState updateState(MovementState state) {
if (!prepared(state))
if (!prepared(state)) {
return state.setStatus(MovementStatus.PREPPING);
else if (state.getStatus() == MovementStatus.PREPPING) {
} else if (state.getStatus() == MovementStatus.PREPPING) {
state.setStatus(MovementStatus.WAITING);
}
return state;