mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-20 16:41:25 +00:00
Merge pull request #11 from DiamondPlane/DiamondPlane-patch-1
Colorize on join message
This commit is contained in:
commit
416d616a3c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ minetest.register_on_joinplayer(function(player)
|
||||||
|
|
||||||
if unreadcount > 0 then
|
if unreadcount > 0 then
|
||||||
minetest.chat_send_player(name,
|
minetest.chat_send_player(name,
|
||||||
"(" .. unreadcount .. ") You have mail! Type /mail to read")
|
minetest.colorize("#00f529", "(" .. unreadcount .. ") You have mail! Type /mail to read"))
|
||||||
|
|
||||||
end
|
end
|
||||||
end, player:get_player_name())
|
end, player:get_player_name())
|
||||||
|
|
Loading…
Add table
Reference in a new issue