Fix BungeeCord autoRegister (Fixes #46)
This commit is contained in:
1 parent
fb357424e6
commit
27c04ff08f
6 files changed
+16
-19
No files matched your search
+2
-2
@@ -40,8 +40,8 @@ public class AsyncPremiumCheck implements Runnable {
|
||||
}
|
||||
|
||||
if (premiumUUID == null
|
||||
|| !checkNameChange(premiumUUID, connection, username)
|
||||
|| !checkPremiumName(username, connection, profile)) {
|
||||
|| (!checkNameChange(premiumUUID, connection, username)
|
||||
&& !checkPremiumName(username, connection, profile))) {
|
||||
//nothing detected the player as premium -> start a cracked session
|
||||
plugin.getSession().put(connection, new BungeeLoginSession(username, false, profile));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user