mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-04-30 13:11:41 -04:00
Replace setpos with set_pos in sethome
This commit is contained in:
parent
21b3c841bd
commit
5134510356
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ sethome.go = function(name)
|
||||||
local pos = sethome.get(name)
|
local pos = sethome.get(name)
|
||||||
local player = minetest.get_player_by_name(name)
|
local player = minetest.get_player_by_name(name)
|
||||||
if player and pos then
|
if player and pos then
|
||||||
player:setpos(pos)
|
player:set_pos(pos)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Add table
Reference in a new issue