From 51345103561a59d2d16409cdcd226106d24c3e70 Mon Sep 17 00:00:00 2001 From: Reedych Date: Sat, 16 Dec 2017 11:10:35 +0600 Subject: [PATCH] Replace setpos with set_pos in sethome --- mods/sethome/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/sethome/init.lua b/mods/sethome/init.lua index 13a33e5..7f1ebce 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