storage rewrite wip

This commit is contained in:
BuckarooBanzay 2023-03-27 19:40:37 +02:00 committed by Athozus
parent e08238f50e
commit 894e5df4b1
No known key found for this signature in database
GPG key ID: B50895022E8484BF
7 changed files with 62 additions and 148 deletions

View file

@ -1,6 +1,6 @@
minetest.register_on_joinplayer(function(player)
minetest.after(2, function(name)
local messages = mail.getPlayerMessages(name)
local messages = mail.getMessages(name)
local unreadcount = 0
@ -16,6 +16,4 @@ minetest.register_on_joinplayer(function(player)
end
end, player:get_player_name())
mail.migrate_contacts(player:get_player_name())
end)