Merge pull request #11 from DiamondPlane/DiamondPlane-patch-1

Colorize on join message
master
Buckaroo Banzai 2021-03-16 20:12:37 +01:00 committed by GitHub
commit 416d616a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ minetest.register_on_joinplayer(function(player)
if unreadcount > 0 then
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, player:get_player_name())