We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7748158 commit 20e6054Copy full SHA for 20e6054
src/lib/net/src/packets/outgoing/player_info_update.rs
@@ -72,7 +72,7 @@ impl PlayerInfoUpdatePacket {
72
73
/// The packet to be sent to all already connected players when a new player joins the server
74
pub fn new_player_join_packet(new_player_id: Entity, state: &GlobalState) -> Self {
75
- let identity = new_player_id.get::<PlayerIdentity>(&state).unwrap();
+ let identity = new_player_id.get::<PlayerIdentity>(state).unwrap();
76
Self::with_players(vec![PlayerInfo::from(&identity)])
77
}
78
0 commit comments