mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Fixed usage stats
This commit is contained in:
parent
ad98fbf380
commit
e6c2ddbb47
1 changed files with 2 additions and 2 deletions
|
|
@ -232,8 +232,8 @@ class ServerAPI{
|
||||||
"os" => Utils::getOS(),
|
"os" => Utils::getOS(),
|
||||||
"version" => MAJOR_VERSION,
|
"version" => MAJOR_VERSION,
|
||||||
"protocol" => CURRENT_PROTOCOL,
|
"protocol" => CURRENT_PROTOCOL,
|
||||||
"online" => count($this->clients),
|
"online" => count($this->server->clients),
|
||||||
"max" => $this->maxClients,
|
"max" => $this->server->maxClients,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue