Fixed Metrics support for 1.7.10

This commit is contained in:
PseudoKnight 2015-01-27 04:05:43 -08:00
parent 0101a3de24
commit e64f6da793

View File

@ -282,7 +282,7 @@ public class MetricsLite {
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