From: Greg Burri Date: Wed, 23 Jun 2021 10:41:14 +0000 (+0200) Subject: Comment out the code to format player list X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=026120042fe286bc09af4b5f38a345954d73f681;p=minecraft_web.git Comment out the code to format player list --- diff --git a/backend/src/minecraft_controller.rs b/backend/src/minecraft_controller.rs index d9a68c0..f04ed24 100644 --- a/backend/src/minecraft_controller.rs +++ b/backend/src/minecraft_controller.rs @@ -35,13 +35,11 @@ impl MinecraftExe { } pub fn format_active_players(&self) -> String { - /* Commented because the player list isn't correct (the number is). if self.active_players.len() == 0 { String::from("") } else { self.active_players.join(", ") - }*/ - self.active_players.len().to_string() + } } pub fn format_last_backup(&self) -> String {