added compat fix for getOnlinePlayers()