Hidendra / Plugin-Metrics

Metrics tools designed for minecraft plugins to gather statistical data
http://mcstats.org
85 stars 79 forks source link

Line 335 of Bukkit Version has syntax error #60

Closed EthanZeigler closed 9 years ago

EthanZeigler commented 9 years ago

Line 335 of the Bukkit non-lite uses .size on an Player[] instead of .lenght, which is causing a syntax error.

image

bendem commented 9 years ago

as per https://github.com/Bukkit/Bukkit/commit/0d9771acf6e59ca77fea3f55a33508661bcf7a5d, size is correct

EthanZeigler commented 9 years ago

That's really strange, because this is what I see. image

Hidendra commented 9 years ago

You probably don't have the latest Bukkit api jar as the library.

You can always just change it to .length in your copy just be aware that it will throw exceptions on newer versions of Bukkit (specifically Spigot.)

EthanZeigler commented 9 years ago

That's what I don't understand... I have a 1.7.10 bukkit build.

NVM, was using 1.7.9 build, but doesn't that break it for all players using bukkit 1.7.9? It's about half of my plugin's users.