Skip to content
Permalink
Browse files

Replace setpos with set_pos in sethome

  • Loading branch information...
ArcSineSoftware authored and rubenwardy committed Dec 16, 2017
1 parent 21b3c84 commit 51345103561a59d2d16409cdcd226106d24c3e70
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 5134510

Please sign in to comment.
You can’t perform that action at this time.