forked from mff/whoison
Change deprecated getpos method to get_pos
This commit is contained in:
parent
5e30eea8b7
commit
346ccd72e0
2
init.lua
2
init.lua
@ -13,7 +13,7 @@ function whoison.createFile(loopit)
|
||||
|
||||
local name = player:get_player_name()
|
||||
whoison.updateStats(name)
|
||||
local ppos = minetest.pos_to_string(player:getpos())
|
||||
local ppos = minetest.pos_to_string(player:get_pos())
|
||||
local datastring = name.."|"..ppos.."\n"
|
||||
file:write( datastring )
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user