Update mcl_spawn

This commit is contained in:
Wuzzy 2017-11-26 15:04:31 +01:00
parent 6eab8e213c
commit f0b5f10c90
1 changed files with 3 additions and 0 deletions

View File

@ -38,3 +38,6 @@ minetest.register_on_respawnplayer(function(player)
end
end)
minetest.register_on_newplayer(function(player)
mcl_spawn.set_spawn_pos(player, player:get_pos())
end)