Fix extra knockback sprint bug

This commit is contained in:
Ryan 2022-08-09 15:42:05 -07:00
parent 3649a8ca99
commit 760f4bddcf

View file

@ -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,