Fixed broken Chatcommands
This commit is contained in:
parent
80371bc165
commit
9dc3eb7770
@ -3,7 +3,7 @@ chat = {}
|
|||||||
chat.rainbow = dofile(minetest.get_modpath("chat") .. "/rainbow.lua")
|
chat.rainbow = dofile(minetest.get_modpath("chat") .. "/rainbow.lua")
|
||||||
|
|
||||||
function chat.send(message)
|
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
|
if starts_with == "/" or starts_with == "." then return end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user