1
0
cuberite-2a/MCServer/Plugins/Core/spawn.lua
2013-06-28 18:43:29 +00:00

7 lines
256 B
Lua

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