Synax
This commit is contained in:
@@ -209,7 +209,7 @@ public class AsyncronousLogin {
|
||||
List<String> auths = this.database.getAllAuthsByName(auth);
|
||||
// List<String> uuidlist =
|
||||
// plugin.otherAccounts.getAllPlayersByUUID(player.getUniqueId());
|
||||
if (auths.isEmpty() || auths == null) {
|
||||
if (auths.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
if (auths.size() == 1) {
|
||||
|
||||
@@ -94,7 +94,7 @@ public class AsyncronousRegister {
|
||||
preRegister();
|
||||
if (!allowRegister)
|
||||
return;
|
||||
if (!email.isEmpty() && email != "") {
|
||||
if (!email.isEmpty() && !email.equals("")) {
|
||||
if (Settings.getmaxRegPerEmail > 0) {
|
||||
if (!plugin.authmePermissible(player, "authme.allow2accounts") && database.getAllAuthsByEmail(email).size() >= Settings.getmaxRegPerEmail) {
|
||||
m.send(player, "max_reg");
|
||||
|
||||
Reference in New Issue
Block a user