mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 11:15:19 +01:00
Fix Conflict
This commit is contained in:
parent
a262b26451
commit
174ad3b29c
@ -45,13 +45,13 @@ public class vAuthFileReader {
|
||||
if (isUuidInstance(password)) {
|
||||
String pname;
|
||||
try {
|
||||
playerName = Bukkit.getOfflinePlayer(UUID.fromString(name)).getName();
|
||||
pname = Bukkit.getOfflinePlayer(UUID.fromString(name)).getName();
|
||||
} catch (Exception | NoSuchMethodError e) {
|
||||
playerName = getName(UUID.fromString(name));
|
||||
pname = getName(UUID.fromString(name));
|
||||
}
|
||||
if (playerName == null)
|
||||
if (pname == null)
|
||||
continue;
|
||||
auth = new PlayerAuth(playerName.toLowerCase(), password, "127.0.0.1", System.currentTimeMillis(), "your@email.com", playerName);
|
||||
auth = new PlayerAuth(pname.toLowerCase(), password, "127.0.0.1", System.currentTimeMillis(), "your@email.com", pname);
|
||||
} else {
|
||||
auth = new PlayerAuth(name.toLowerCase(), password, "127.0.0.1", System.currentTimeMillis(), "your@email.com", name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user