Forgot AuthMe >=3.5 has a cache

There's no need to redefine name and email, then.
This commit is contained in:
Maxetto 2015-07-04 23:11:02 +02:00
parent 0b1490bd65
commit ac919d8314

View File

@ -152,8 +152,6 @@ public class AsyncronousLogin {
displayOtherAccounts(auth, player);
if (Settings.recallEmail) {
String name = player.getName().toLowerCase();
String email = database.getAuth(name).getEmail();
if (email == null || email.isEmpty() || email.equalsIgnoreCase("your@email.com"))
m.send(player, "add_email");
}