1
0
cuberite-2a/MCServer/Plugins/Core/spawn.lua

6 lines
225 B
Lua
Raw Normal View History

function HandleSpawnCommand( Split, Player )
World = Player:GetWorld()
Player:TeleportTo( World:GetSpawnX(), World:GetSpawnY(), World:GetSpawnZ() )
LOGINFO( Player:GetName() .. " returned to spawn." )
return true
end