Update getOnlinePlayers() due to changes in the Bukkit API