projects
/
minecraft_web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df9e61
)
Comment out the code to format player list
author
Greg Burri
<greg.burri@gmail.com>
Wed, 23 Jun 2021 10:41:14 +0000
(12:41 +0200)
committer
Greg Burri
<greg.burri@gmail.com>
Wed, 23 Jun 2021 10:41:14 +0000
(12:41 +0200)
backend/src/minecraft_controller.rs
patch
|
blob
|
history
diff --git
a/backend/src/minecraft_controller.rs
b/backend/src/minecraft_controller.rs
index
d9a68c0
..
f04ed24
100644
(file)
--- a/
backend/src/minecraft_controller.rs
+++ b/
backend/src/minecraft_controller.rs
@@
-35,13
+35,11
@@
impl MinecraftExe {
}
\r
\r
pub fn format_active_players(&self) -> String {
\r
- /* Commented because the player list isn't correct (the number is).
\r
if self.active_players.len() == 0 {
\r
String::from("<none>")
\r
} else {
\r
self.active_players.join(", ")
\r
- }*/
\r
- self.active_players.len().to_string()
\r
+ }
\r
}
\r
\r
pub fn format_last_backup(&self) -> String {
\r