solidarity

This commit is contained in:
Leijurv 2018-09-14 15:57:46 -07:00
parent 7d94cb259f
commit 29391af5ad
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -191,12 +191,7 @@ public class MovementParkour extends Movement {
@Override @Override
public MovementState updateState(MovementState state) { public MovementState updateState(MovementState state) {
super.updateState(state); super.updateState(state);
switch (state.getStatus()) { if (state.getStatus() != MovementState.MovementStatus.RUNNING) {
case WAITING:
state.setStatus(MovementState.MovementStatus.RUNNING);
case RUNNING:
break;
default:
return state; return state;
} }
if (dist >= 4) { if (dist >= 4) {