Update ConnectListener.kt
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user