Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Jun 2, 2024
2 parents 0b6b4ee + 7a3ba7a commit 114649a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ class MinestomServerLib(
}

private val playerJoinListener: Consumer<PlayerSpawnEvent> = Consumer { event ->
if (!event.isFirstSpawn) return@Consumer
val player = getPlayerByInstance(event.player) as MinestomServerPlayer
McPlayerJoinEvent.invoker.onPlayerJoin(player)

Expand Down

0 comments on commit 114649a

Please sign in to comment.