Update ConnectListener.kt

This commit is contained in:
TDSTOS
2026-04-13 00:43:44 +02:00
parent bcfe42b1a3
commit 77560a7486

View File

@@ -7,6 +7,7 @@ import club.mcscrims.speedhg.util.trans
import net.kyori.adventure.text.Component
import net.kyori.adventure.title.Title
import org.bukkit.Bukkit
import org.bukkit.GameMode
import org.bukkit.Location
import org.bukkit.World
import org.bukkit.event.EventHandler
@@ -44,6 +45,7 @@ class ConnectListener : Listener {
return
}
player.gameMode = GameMode.SURVIVAL
player.teleport( spawnLocation )
Bukkit.getOnlinePlayers().forEach { p ->