diff --git a/mods/sethome/init.lua b/mods/sethome/init.lua index 13a33e57..7f1ebced 100644 --- a/mods/sethome/init.lua +++ b/mods/sethome/init.lua @@ -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