Players online in client 12, fix #425

This commit is contained in:
Stefan A. Brannfjell
2020-06-24 13:21:31 +02:00
committed by GitHub
parent 5f87fd2376
commit 26628602b2

View File

@@ -34,7 +34,7 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['ServerEngine'] === '
case "cacheinfo":
// {"type":"cacheinfo"}
sendMessage(array(
'playersonline' => user_count_online(),
'playersonline' => (int)user_count_online(),
'twitchstreams' => 0,
'twitchviewer' => 0,
'gamingyoutubestreams' => 0,