Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
theaddonn committed Aug 3, 2024
1 parent bd1efd9 commit 5c99d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/proto/src/gamepacket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1299,8 +1299,8 @@ impl GamePacket {
GamePacket::AlexEntityAnimationID => {
unimplemented!()
}
id => {
return Err(ProtoCodecError::InvalidGamePacketID(id));
other => {
return Err(ProtoCodecError::InvalidGamePacketID(other));
}
};

Expand Down

0 comments on commit 5c99d6b

Please sign in to comment.