mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-12-28 00:17:36 +01:00
fix #4
This commit is contained in:
parent
383abf919d
commit
8279436cde
2
api.lua
2
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]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user