From 026120042fe286bc09af4b5f38a345954d73f681 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Wed, 23 Jun 2021 12:41:14 +0200 Subject: [PATCH] Comment out the code to format player list --- backend/src/minecraft_controller.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 { -- 2.45.2