diff --git a/examples/combat.rs b/examples/combat.rs index a498e0c..61b501f 100644 --- a/examples/combat.rs +++ b/examples/combat.rs @@ -212,6 +212,9 @@ impl Config for Game { Some(ClientEvent::StartSprinting) => { client.state.extra_knockback = true; } + Some(ClientEvent::StopSprinting) => { + client.state.extra_knockback = false; + } Some(ClientEvent::InteractWithEntity { id, kind: InteractWithEntityKind::Attack,