Skip to content

Commit

Permalink
fix: unwrap SSwingArm
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas0008 committed Aug 7, 2024
1 parent aab13de commit 96c9a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ impl Client {
SPlayerCommand::PACKET_ID => {
self.handle_player_command(server, SPlayerCommand::read(bytebuf).unwrap())
}
SSwingArm::PACKET_ID => self.handle_swing_arm(server, SSwingArm::read(bytebuf)),
SSwingArm::PACKET_ID => self.handle_swing_arm(server, SSwingArm::read(bytebuf).unwrap()),
_ => log::error!("Failed to handle player packet id {}", packet.id.0),
}
}
Expand Down

0 comments on commit 96c9a57

Please sign in to comment.