Fixed depreciated getOnlinePlayers().length