aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2023-01-16 18:46:45 +0300
committerPetr Ilin <hevav@hevav.dev>2023-01-16 18:46:45 +0300
commit05af3dd93b367bf5632ffae08fab47532a86142b (patch)
tree36d4e236b9464adf447e8093ec7ed1daeb500d59
parent51e8126e9df3e61f7bc65279b324a83922823099 (diff)
downloadLimboAuth-05af3dd93b367bf5632ffae08fab47532a86142b.tar.gz
LimboAuth-05af3dd93b367bf5632ffae08fab47532a86142b.tar.bz2
LimboAuth-05af3dd93b367bf5632ffae08fab47532a86142b.zip
1.1.2: Register Hotfix
-rw-r--r--VERSION2
-rw-r--r--build.gradle2
-rw-r--r--src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 524cb55..45a1b3f 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.1.1
+1.1.2
diff --git a/build.gradle b/build.gradle
index 2b8f709..70265fe 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,7 +10,7 @@ plugins {
}
setGroup("net.elytrium")
-setVersion("1.1.1")
+setVersion("1.1.2")
java {
setSourceCompatibility(JavaVersion.VERSION_11)
diff --git a/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java b/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java
index 941ba1b..1d20a7f 100644
--- a/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java
+++ b/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java
@@ -206,7 +206,7 @@ public class AuthSessionHandler implements LimboSessionHandler {
String password = args[1];
if (this.checkPasswordsRepeat(args) && this.checkPasswordLength(password) && this.checkPasswordStrength(password)) {
this.saveTempPassword(password);
- RegisteredPlayer registeredPlayer = new RegisteredPlayer(this.proxyPlayer);
+ RegisteredPlayer registeredPlayer = new RegisteredPlayer(this.proxyPlayer).setPassword(password);
try {
this.playerDao.create(registeredPlayer);