solidarity
This commit is contained in:
parent
7d94cb259f
commit
29391af5ad
@ -191,12 +191,7 @@ public class MovementParkour extends Movement {
|
||||
@Override
|
||||
public MovementState updateState(MovementState state) {
|
||||
super.updateState(state);
|
||||
switch (state.getStatus()) {
|
||||
case WAITING:
|
||||
state.setStatus(MovementState.MovementStatus.RUNNING);
|
||||
case RUNNING:
|
||||
break;
|
||||
default:
|
||||
if (state.getStatus() != MovementState.MovementStatus.RUNNING) {
|
||||
return state;
|
||||
}
|
||||
if (dist >= 4) {
|
||||
|
Loading…
Reference in New Issue
Block a user