This commit is contained in:
samo_lego 2020-10-10 22:23:57 +02:00
parent 3d6d9c2d93
commit 57f702f824
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ loader_version=0.9.3+build.207
fabric_version=0.20.2+build.402-1.16
# Mod Properties
mod_version = 1.5.2
mod_version = 1.5.3
maven_group = org.samo_lego
archives_base_name = simpleauth

View File

@ -63,7 +63,7 @@ public class PlayerCache {
if(player != null) {
if(config.experimental.debugMode)
logInfo("Creating cache for " + player.getName());
logInfo("Creating cache for " + player.getName().asString());
this.lastIp = player.getIp();
this.lastAir = player.getAir();
@ -99,7 +99,7 @@ public class PlayerCache {
}
else {
this.password = passwordElement.getAsString();
this.isRegistered = true;
this.isRegistered = !this.password.isEmpty();
}
@ -131,6 +131,6 @@ public class PlayerCache {
this.isAuthenticated = false;
this.loginTries = 0;
if(config.experimental.debugMode)
logInfo("Cache created. Registered: " + this.isRegistered + ", hashed password: " + this.password);
logInfo("Cache created. Registered: " + this.isRegistered + ", hashed password: " + this.password + ".");
}
}