Skip to content

Commit

Permalink
Replace setpos with set_pos in sethome
Browse files Browse the repository at this point in the history
  • Loading branch information
Reedych authored and rubenwardy committed Dec 16, 2017
1 parent 21b3c84 commit 5134510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/sethome/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 5134510

Please sign in to comment.