Fixed ColorChat

This commit is contained in:
Elias Fleckenstein 2020-11-02 17:20:16 +01:00
parent 62958bd603
commit 06b72069d8

View File

@ -22,10 +22,10 @@ function core.send_colorized(message)
message = msg
end
local use_chat_color = core.settings:get("use_chat_color")
local use_chat_color = core.settings:get_bool("use_chat_color")
local color = core.settings:get("chat_color")
if color then
if use_chat_color and color then
local msg
if color == "rainbow" then
msg = core.rainbow(message)