We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b3e040 commit 7ac0d12Copy full SHA for 7ac0d12
pumpkin/src/server/mod.rs
@@ -138,7 +138,10 @@ impl Server {
138
139
/// Get all online player names
140
pub fn get_online_player_names(&self) -> Vec<String> {
141
- self.worlds.iter().flat_map(|world| world.get_player_names()).collect::<Vec<_>>()
+ self.worlds
142
+ .iter()
143
+ .flat_map(|world| world.get_player_names())
144
+ .collect::<Vec<_>>()
145
}
146
147
/// Gets the nearest player from another player
0 commit comments