diff --git a/mods/ITEMS/REDSTONE/mcl_redstone/eventqueue.lua b/mods/ITEMS/REDSTONE/mcl_redstone/eventqueue.lua index 0d66a1352..4d0663059 100644 --- a/mods/ITEMS/REDSTONE/mcl_redstone/eventqueue.lua +++ b/mods/ITEMS/REDSTONE/mcl_redstone/eventqueue.lua @@ -217,6 +217,10 @@ minetest.register_chatcommand("tick", privs = {server = true}, func = function(name, param) local _, end_pos, operation = string.find(param, "^%s*(%a+)") + if not end_pos then + return false + end + local _, _, arg = string.find(param, "^%s*([%a%d.]+)", end_pos + 1) if operation == "query" then