diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-07-17 20:17:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 20:17:54 +0200 |
commit | ade7a1cbcf7156ebddb12bd2ec2ea60818d72b19 (patch) | |
tree | 93200b6fad15c936cb213dc824ed761088eeb1a0 /builtin/game/static_spawn.lua | |
parent | a0635f602487944d25c03efecee61cecf3bdb5ab (diff) | |
download | minetest-ade7a1cbcf7156ebddb12bd2ec2ea60818d72b19.tar.xz |
Builtin: Replace deprecated function calls (#7561)
Diffstat (limited to 'builtin/game/static_spawn.lua')
-rw-r--r-- | builtin/game/static_spawn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/static_spawn.lua b/builtin/game/static_spawn.lua index 2a5d9b1fa..fae23eab0 100644 --- a/builtin/game/static_spawn.lua +++ b/builtin/game/static_spawn.lua @@ -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 |