summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/spawn.lua
blob: 73034d9cff116ba90d9951fb68e79fb98881f24b (plain) (blame)
1
2
3
4
5
6
function HandleSpawnCommand( Split, Player )
	World = Player:GetWorld()
	Player:TeleportTo( World:GetSpawnX(), World:GetSpawnY(), World:GetSpawnZ() )
	LOGINFO( Player:GetName() .. " returned to spawn." )
	return true
end