Minor tweaks

This commit is contained in:
Billy S 2018-12-26 20:25:16 -05:00 committed by GitHub
parent 4a91dc4b6d
commit 80c08112c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,6 +441,7 @@ minetest.register_chatcommand("tc", {
if team.players[realplayer:get_player_name()] then
minetest.chat_send_player(realplayer:get_player_name(),
minetest.colorize("#" .. colorHex:sub(3, 8), "<" .. name .. "> ** " .. param .. " **"))
minetest.log("[" .. tname .. "Team Chat] <" .. name .. "> " .. param)
end
end
end
@ -471,6 +472,7 @@ minetest.register_chatcommand("ac", {
if team.players[realplayer:get_player_name()] or diplo == "alliance" then
minetest.chat_send_player(realplayer:get_player_name(),
minetest.colorize("#" .. colorHex:sub(3, 8), "<" .. name .. "> ** " .. param .. " **"))
minetest.log("[" .. tname .. "Ally Chat] <" .. name .. "> " .. param)
end
end
end