Fix metrics call to getOnlinePlayers

This commit is contained in:
drtshock 2014-06-27 13:43:12 -05:00
parent a47caa4ff6
commit 024e88a35b

View File

@ -250,7 +250,7 @@ public final class Metrics {
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
String pluginVersion = description.getVersion();
String serverVersion = Bukkit.getVersion();
int playersOnline = Bukkit.getServer().getOnlinePlayers().length;
int playersOnline = Bukkit.getServer().getOnlinePlayers().size();
// END server software specific section -- all code below does not use any code outside of this class / Java