getOnlinePlayers.length fix for bukkit 1.7.10