Aktualizovat „mesecons/mesecons_commandblock/init.lua“

This commit is contained in:
Milan2018 2020-05-19 18:35:09 +02:00
parent e3c7a8c402
commit 2dd2d077f5

View file

@ -141,7 +141,7 @@ local function commandblock_action_on(pos, node)
end
local commands = resolve_commands(meta:get_string("commands"), pos)
for _, command in pairs(commands:split("\n")) do
for _, command in pairs(commands:split("\n/")) do
local pos = command:find(" ")
local cmd, param = command, ""
if pos then