forked from mff/whoison
Compare commits
No commits in common. "master" and "master" have entirely different histories.
4
init.lua
4
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:get_pos())
|
||||
local ppos = minetest.pos_to_string(player:getpos())
|
||||
local datastring = name.."|"..ppos.."\n"
|
||||
file:write( datastring )
|
||||
end
|
||||
@ -145,5 +145,3 @@ end
|
||||
minetest.after(10,whoison.createFile,true)
|
||||
|
||||
whoison.loadLastSeen()
|
||||
|
||||
minetest.log("action", "[whoison] loaded.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user