From d5c9c9eb8c7e4037bf969ecd3956a770802e0293 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Wed, 26 Jan 2022 18:46:11 +0100 Subject: [PATCH] fix error with checks/unobtainable_items.lua --- checks/unobtainable_items.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/unobtainable_items.lua b/checks/unobtainable_items.lua index 45584a0..6e3ff18 100644 --- a/checks/unobtainable_items.lua +++ b/checks/unobtainable_items.lua @@ -26,7 +26,7 @@ for item, def in pairs(minetest.registered_items) do local dropname = dropstack:get_name() items[dropname] = true end - elseif type(def.drop) == "table" then + elseif type(def.drop) == "table" and def.drop.items then for i=1,#def.drop.items do for j=1,#def.drop.items[i].items do items[def.drop.items[i].items[j]] = true