valence-rs/valence

Combat Example doesn't work

Cheezer1656 opened this issue · 0 comments

Valence Version

1331a79

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.