1.7 compatibility

This commit is contained in:
DNx5 2015-10-23 00:23:12 +07:00
parent beb46ebf6f
commit a2381fa025

View File

@ -186,7 +186,7 @@ public class DataManager {
public Player getOnlinePlayerLower(String name) {
name = name.toLowerCase();
for (Player player : Bukkit.getOnlinePlayers()) {
for (Player player : Utils.getOnlinePlayers()) {
if (player.getName().equalsIgnoreCase(name))
return player;
}