Need to check if forceRegstration is enabled
This commit is contained in:
parent
176fda47ec
commit
2fe76a4f8a
@ -116,6 +116,12 @@ public class AuthMeEntityListener implements Listener {
|
||||
if (PlayerCache.getInstance().isAuthenticated(name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!data.isAuthAvailable(name)) {
|
||||
if (!Settings.isForcedRegistrationEnabled) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user