diff options
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,9 +16,9 @@ function chateffects.send(message) end local use_chat_color = minetest.settings:get_bool("use_chat_color") - local color = minetest.settings:get("chat_color") + local color = minetest.settings:get("chat_color") or "rainbow" - if use_chat_color and color then + if use_chat_color then local msg if color == "rainbow" then msg = minetest.rainbow(message) |