projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b3c84
)
Replace setpos with set_pos in sethome
author
Reedych
<reedych@ya.ru>
Sat, 16 Dec 2017 05:10:35 +0000
(11:10 +0600)
committer
rubenwardy
<rubenwardy@gmail.com>
Sat, 16 Dec 2017 05:10:35 +0000
(
05:10
+0000)
mods/sethome/init.lua
patch
|
blob
|
history
diff --git
a/mods/sethome/init.lua
b/mods/sethome/init.lua
index 13a33e57d77e9c0b2b622c0ce45fe9f7b628269c..7f1ebced71821cb1565d53536282a65fe6f66ca9 100644
(file)
--- 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