From 00916d2fc68d9913dca6202529c4f809e5043ecc Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sat, 10 Jan 2015 23:03:25 +0100 Subject: [PATCH] Updated pipeworks ; 1/10/2014 ; number 1 --- mods/pipeworks/autocrafter.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/pipeworks/autocrafter.lua b/mods/pipeworks/autocrafter.lua index a6d8ad12..b9edd935 100755 --- a/mods/pipeworks/autocrafter.lua +++ b/mods/pipeworks/autocrafter.lua @@ -9,7 +9,9 @@ local function make_inventory_cache(invlist) end local function autocraft(inventory, pos) + if not inventory then return end local recipe = inventory:get_list("recipe") + if not recipe then return end local recipe_last local result local new