mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
Remember to sync before pushing!
This commit is contained in:
parent
11ab01c45d
commit
6c4668ecec
@ -12,6 +12,7 @@ import fr.xephi.authme.cache.auth.PlayerCache;
|
|||||||
import fr.xephi.authme.datasource.DataSource;
|
import fr.xephi.authme.datasource.DataSource;
|
||||||
import fr.xephi.authme.security.PasswordSecurity;
|
import fr.xephi.authme.security.PasswordSecurity;
|
||||||
import fr.xephi.authme.settings.Messages;
|
import fr.xephi.authme.settings.Messages;
|
||||||
|
import fr.xephi.authme.settings.PlayersLogs;
|
||||||
import fr.xephi.authme.settings.Settings;
|
import fr.xephi.authme.settings.Settings;
|
||||||
|
|
||||||
public class AsyncronousRegister {
|
public class AsyncronousRegister {
|
||||||
@ -76,9 +77,7 @@ public class AsyncronousRegister {
|
|||||||
|
|
||||||
else if (database.isAuthAvailable(name)) {
|
else if (database.isAuthAvailable(name)) {
|
||||||
m.send(player, "user_regged");
|
m.send(player, "user_regged");
|
||||||
if (plugin.pllog.getStringList("players").contains(name)) {
|
PlayersLogs.getInstance().savePlayerLogs();
|
||||||
plugin.pllog.getStringList("players").remove(name);
|
|
||||||
}
|
|
||||||
allowRegister = false;
|
allowRegister = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user