From: Reedych Date: Sat, 16 Dec 2017 05:10:35 +0000 (+0600) Subject: Replace setpos with set_pos in sethome X-Git-Tag: 5.0.0~138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51345103561a59d2d16409cdcd226106d24c3e70;p=oweals%2Fminetest_game.git Replace setpos with set_pos in sethome --- 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