Store colors and use a lighter selection color

This commit is contained in:
Athozus 2023-06-25 19:12:20 +02:00
parent f5198b9187
commit 95475c7c59
No known key found for this signature in database
GPG key ID: B50895022E8484BF
12 changed files with 56 additions and 43 deletions

View file

@ -17,7 +17,7 @@ minetest.register_on_joinplayer(function(player)
if unreadcount > 0 and mail.get_setting(name, "onjoin_notifications") then
minetest.chat_send_player(name,
minetest.colorize("#00f529", "(" .. unreadcount .. ") " .. S("You have mail! Type /mail to read")))
minetest.colorize(mail.colors.new, "(" .. unreadcount .. ") " .. S("You have mail! Type /mail to read")))
end
end, player:get_player_name())
end)