Skip to content

Commit 7ac0d12

Browse files
committed
cargo fmt
1 parent 1b3e040 commit 7ac0d12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pumpkin/src/server/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ impl Server {
138138

139139
/// Get all online player names
140140
pub fn get_online_player_names(&self) -> Vec<String> {
141-
self.worlds.iter().flat_map(|world| world.get_player_names()).collect::<Vec<_>>()
141+
self.worlds
142+
.iter()
143+
.flat_map(|world| world.get_player_names())
144+
.collect::<Vec<_>>()
142145
}
143146

144147
/// Gets the nearest player from another player

0 commit comments

Comments
 (0)