Fix metrics call to getOnlinePlayers