diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-02 17:15:46 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-02 17:15:46 +0100 |
commit | 00d51fbd56743a4ee091d2956a70d6d5e6e1fda3 (patch) | |
tree | 3110f9be9ede7b7c697df23fa068f76be3326d4c /builtin/client/cheats/chat.lua | |
parent | 7cbe42b1dd0051a0c8a516700c2ef63f1ec090fc (diff) | |
download | dragonfireclient-00d51fbd56743a4ee091d2956a70d6d5e6e1fda3.tar.xz |
Armor textures support
Diffstat (limited to 'builtin/client/cheats/chat.lua')
-rw-r--r-- | builtin/client/cheats/chat.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/client/cheats/chat.lua b/builtin/client/cheats/chat.lua index 1f3ecbaa2..0763909df 100644 --- a/builtin/client/cheats/chat.lua +++ b/builtin/client/cheats/chat.lua @@ -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) |