X-Git-Url: http://git.euphorik.ch/index.cgi?p=minecraft_web.git;a=blobdiff_plain;f=backend%2Fsrc%2Fminecraft_controller.rs;h=f04ed24d974085fc1dbde4d832cbe0150373b602;hp=d9a68c0107c3cb1488abf429cd94de55b0b0d100;hb=026120042fe286bc09af4b5f38a345954d73f681;hpb=5df9e614e940f47256773b7d0787e46f90082ff7 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 {