mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-11 07:11:30 +11:00
Fix extra knockback sprint bug
This commit is contained in:
parent
3649a8ca99
commit
760f4bddcf
|
@ -212,6 +212,9 @@ impl Config for Game {
|
||||||
Some(ClientEvent::StartSprinting) => {
|
Some(ClientEvent::StartSprinting) => {
|
||||||
client.state.extra_knockback = true;
|
client.state.extra_knockback = true;
|
||||||
}
|
}
|
||||||
|
Some(ClientEvent::StopSprinting) => {
|
||||||
|
client.state.extra_knockback = false;
|
||||||
|
}
|
||||||
Some(ClientEvent::InteractWithEntity {
|
Some(ClientEvent::InteractWithEntity {
|
||||||
id,
|
id,
|
||||||
kind: InteractWithEntityKind::Attack,
|
kind: InteractWithEntityKind::Attack,
|
||||||
|
|
Loading…
Reference in a new issue