mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-04 21:50:28 -04:00
Add insertion of messages into global storage mail.messages.json
This commit is contained in:
parent
17b5f94fed
commit
0d69f0242b
4 changed files with 36 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
minetest.register_on_joinplayer(function(player)
|
||||
minetest.after(2, function(name)
|
||||
local messages = mail.getMessages(name)
|
||||
local messages = mail.getPlayerMessages(name)
|
||||
|
||||
local unreadcount = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue