From 9dc3eb7770d1aced41c2ee781939600c2b7d355d Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 15 Aug 2020 16:32:16 +0200 Subject: [PATCH] Fixed broken Chatcommands --- clientmods/chat/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientmods/chat/init.lua b/clientmods/chat/init.lua index 5b3ca7971..4c11e40f9 100644 --- a/clientmods/chat/init.lua +++ b/clientmods/chat/init.lua @@ -3,7 +3,7 @@ chat = {} chat.rainbow = dofile(minetest.get_modpath("chat") .. "/rainbow.lua") function chat.send(message) - local starts_with = message:sub(1,1) == "/" + local starts_with = message:sub(1, 1) if starts_with == "/" or starts_with == "." then return end