Forgot AuthMe >=3.5 has a cache
There's no need to redefine name and email, then.
This commit is contained in:
parent
0b1490bd65
commit
ac919d8314
@ -152,8 +152,6 @@ public class AsyncronousLogin {
|
|||||||
displayOtherAccounts(auth, player);
|
displayOtherAccounts(auth, player);
|
||||||
|
|
||||||
if (Settings.recallEmail) {
|
if (Settings.recallEmail) {
|
||||||
String name = player.getName().toLowerCase();
|
|
||||||
String email = database.getAuth(name).getEmail();
|
|
||||||
if (email == null || email.isEmpty() || email.equalsIgnoreCase("your@email.com"))
|
if (email == null || email.isEmpty() || email.equalsIgnoreCase("your@email.com"))
|
||||||
m.send(player, "add_email");
|
m.send(player, "add_email");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user