Skip to content

Commit

Permalink
Fix players not having to auth due to server lag and repeated rejoins (
Browse files Browse the repository at this point in the history
  • Loading branch information
Iru21 committed Jun 21, 2023
1 parent c836150 commit 362c969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/me/iru/events/LoginEvents.kt
Expand Up @@ -13,12 +13,12 @@ class LoginEvents : Listener {
val loginProcess = Authy.loginProcess
val authy = Authy.instance

@EventHandler
@EventHandler(priority = EventPriority.LOWEST)
fun onJoin(e : PlayerJoinEvent) {
JoinProcess(e.player).run()
}

@EventHandler
@EventHandler(priority = EventPriority.LOWEST)
fun onInitialLogin(e : PlayerLoginEvent) {
DuplicateProtection.check(e)
}
Expand Down

0 comments on commit 362c969

Please sign in to comment.