Change deprecated getpos method to get_pos

master
sys4 2 years ago
parent 5e30eea8b7
commit 346ccd72e0
  1. 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…
Cancel
Save