aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/net/elytrium/limboauth/LimboAuth.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java
index 0287dea..29b7e77 100644
--- a/src/main/java/net/elytrium/limboauth/LimboAuth.java
+++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java
@@ -349,6 +349,10 @@ public class LimboAuth {
}
}
+ if (this.authServer != null) {
+ this.authServer.dispose();
+ }
+
this.authServer = this.factory
.createLimbo(authWorld)
.setName("LimboAuth")