mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 11:15:19 +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) {
|
public Player getOnlinePlayerLower(String name) {
|
||||||
name = name.toLowerCase();
|
name = name.toLowerCase();
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Utils.getOnlinePlayers()) {
|
||||||
if (player.getName().equalsIgnoreCase(name))
|
if (player.getName().equalsIgnoreCase(name))
|
||||||
return player;
|
return player;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user