1
0
cuberite-2a/MCServer/Plugins/Core/spawn.lua
2012-08-20 12:20:20 +00:00

6 lines
225 B
Lua

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