mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Builtin: Replace deprecated function calls (#7561)
This commit is contained in:
parent
a0635f6024
commit
ade7a1cbcf
6 changed files with 19 additions and 19 deletions
|
@ -15,7 +15,7 @@ local function put_player_in_spawn(player_obj)
|
|||
end
|
||||
core.log("action", "Moving " .. player_obj:get_player_name() ..
|
||||
" to static spawnpoint at " .. core.pos_to_string(static_spawnpoint))
|
||||
player_obj:setpos(static_spawnpoint)
|
||||
player_obj:set_pos(static_spawnpoint)
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue