1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 15:00:18 +01:00

Replace setpos with set_pos in sethome

This commit is contained in:
Reedych 2017-12-16 11:10:35 +06:00 committed by rubenwardy
parent 21b3c841bd
commit 5134510356

View File

@ -61,7 +61,7 @@ sethome.go = function(name)
local pos = sethome.get(name)
local player = minetest.get_player_by_name(name)
if player and pos then
player:setpos(pos)
player:set_pos(pos)
return true
end
return false