mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 20:57:35 +01:00
1.7 compatibility
This commit is contained in:
parent
beb46ebf6f
commit
a2381fa025
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user