aboutsummaryrefslogtreecommitdiff
path: root/builtin/client/cheats/chat.lua
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-02 17:15:46 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-02 17:15:46 +0100
commit00d51fbd56743a4ee091d2956a70d6d5e6e1fda3 (patch)
tree3110f9be9ede7b7c697df23fa068f76be3326d4c /builtin/client/cheats/chat.lua
parent7cbe42b1dd0051a0c8a516700c2ef63f1ec090fc (diff)
downloaddragonfireclient-00d51fbd56743a4ee091d2956a70d6d5e6e1fda3.tar.xz
Armor textures support
Diffstat (limited to 'builtin/client/cheats/chat.lua')
-rw-r--r--builtin/client/cheats/chat.lua4
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)