From 8279436cde4cd2cdf007340634c51868017adef1 Mon Sep 17 00:00:00 2001 From: theFox6 Date: Mon, 5 Apr 2021 10:36:01 +0200 Subject: [PATCH] fix #4 --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 62a9462..f3e07fe 100644 --- a/api.lua +++ b/api.lua @@ -10,7 +10,7 @@ function microexpansion.register_recipe(output, recipe) for _,r in ipairs(recipe) do local def = { - type = type(r[2]) == "string" and r[2], + type = type(r[2]) == "string" and r[2] or nil, output = output.." "..(r[1] or 1), recipe = r[3] or r[2] }