Fix BungeeCord autoRegister (Fixes #46)

This commit is contained in:
games647 committed 2016-07-31 09:57:50 +02:00
1 parent fb357424e6
commit 27c04ff08f
6 files changed
+16 -19

No files matched your search

@@ -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));
}