diff --git a/mods/CORE/mcl_commands/api.lua b/mods/CORE/mcl_commands/api.lua index bc8884962..32fd12c03 100644 --- a/mods/CORE/mcl_commands/api.lua +++ b/mods/CORE/mcl_commands/api.lua @@ -52,7 +52,7 @@ mcl_commands.types = { return S("Word is invalid!") end end}, - quotestring = {[["([^ ]+)"]], + quotestring = {'["]+(.+)["]+', function(res, pointer) if res[pointer] == tostring(res[pointer]) then return nil, string.sub(tostring(res[pointer]), 2, #res[pointer]-1), pointer+1