Change deprecated getpos method to get_pos

This commit is contained in:
bri cassa 2021-03-06 17:26:19 +01:00
parent 5e30eea8b7
commit 346ccd72e0
1 changed files with 1 additions and 1 deletions

View File

@ -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