Combat Example doesn't work
Cheezer1656 opened this issue · 0 comments
Cheezer1656 commented
Valence Version
What You Did
I ran the combat example (cargo run --release --example combat
) and joined with two players. Afterwards, I used the players to punch each other.
What Went Wrong
I was expecting the player getting punched to receive knockback, but nothing happened.
Additional Information
I suspect the problem is that the code doesn't insert the CombatState
component into the players, so the CombatQuery
fails.