mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-04 21:50:28 -04:00
Store colors and use a lighter selection color
This commit is contained in:
parent
f5198b9187
commit
95475c7c59
12 changed files with 56 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue