Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
d27043fb7d | |||
346ccd72e0 | |||
|
5e30eea8b7 |
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:getpos())
|
||||
local ppos = minetest.pos_to_string(player:get_pos())
|
||||
local datastring = name.."|"..ppos.."\n"
|
||||
file:write( datastring )
|
||||
end
|
||||
@ -145,3 +145,5 @@ end
|
||||
minetest.after(10,whoison.createFile,true)
|
||||
|
||||
whoison.loadLastSeen()
|
||||
|
||||
minetest.log("action", "[whoison] loaded.")
|
||||
|
Loading…
Reference in New Issue
Block a user