We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1fc2ae commit 33c7384Copy full SHA for 33c7384
src/bin/src/packet_handlers/player/head_rot.rs
@@ -18,16 +18,7 @@ pub fn handle_player_move(
18
19
let Ok((rot, identity)) = query.get(entity) else {
20
continue;
21
- }
22
- let identity;
23
-
24
- match query.get(entity) {
25
- Ok((_rot, _identity)) => {
26
- rot = _rot;
27
- identity = _identity;
28
29
- Err(_) => continue,
30
+ };
31
32
let head_rot_packet = SetHeadRotationPacket::new(
33
identity.uuid.as_u128() as i32,
0 commit comments