mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-26 05:26:34 +11:00
Fix extra knockback sprint bug
This commit is contained in:
parent
3649a8ca99
commit
760f4bddcf
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue