2 Commits

Author SHA1 Message Date
d27043fb7d Add mod.conf 2022-03-06 11:18:30 +01:00
346ccd72e0 Change deprecated getpos method to get_pos 2021-03-06 17:26:19 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function whoison.createFile(loopit)
local name = player:get_player_name() local name = player:get_player_name()
whoison.updateStats(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" local datastring = name.."|"..ppos.."\n"
file:write( datastring ) file:write( datastring )
end end

2
mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = whoison
description = Provide 'seen' and 'timeonline' chat command