File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/kotlin/com/mairwunnx/projectessentials/spawn/commands Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11package com.mairwunnx.projectessentials.spawn.commands
22
33import com.mairwunnx.projectessentials.cooldown.essentials.CommandsAliases
4+ import com.mairwunnx.projectessentials.core.backlocation.BackLocationProvider
45import com.mairwunnx.projectessentials.core.extensions.isPlayerSender
56import com.mairwunnx.projectessentials.core.extensions.sendMsg
67import com.mairwunnx.projectessentials.core.helpers.ONLY_PLAYER_CAN
@@ -66,6 +67,8 @@ object SpawnCommand {
6667 }
6768
6869 fun moveToSpawn (player : ServerPlayerEntity ) {
70+ BackLocationProvider .commit(player)
71+
6972 val xPos = SpawnModelBase .spawnModel.xPos
7073 val yPos = SpawnModelBase .spawnModel.yPos
7174 val zPos = SpawnModelBase .spawnModel.zPos
You can’t perform that action at this time.
0 commit comments