mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Fix ProtocolSupport autoRegister
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
######1.9
|
||||
|
||||
* Added second attempt login -> cracked login
|
||||
* Fix ProtocolSupport autoRegister
|
||||
|
||||
######1.8
|
||||
|
||||
|
@ -67,10 +67,10 @@ public class ProtocolSupportListener implements Listener {
|
||||
}
|
||||
|
||||
if (premiumUUID != null && plugin.getConfig().getBoolean("nameChangeCheck")) {
|
||||
profile = plugin.getCore().getStorage().loadProfile(premiumUUID);
|
||||
if (profile != null) {
|
||||
PlayerProfile uuidProfile = plugin.getCore().getStorage().loadProfile(premiumUUID);
|
||||
if (uuidProfile != null) {
|
||||
plugin.getLogger().log(Level.FINER, "Player {0} changed it's username", premiumUUID);
|
||||
startPremiumSession(username, loginStartEvent, false, profile);
|
||||
startPremiumSession(username, loginStartEvent, false, uuidProfile);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user