From a939dbd39176708a70389bd29e1e302eb80d22da Mon Sep 17 00:00:00 2001 From: JP Guerrero Date: Fri, 9 Dec 2016 11:52:34 +0100 Subject: [PATCH] Workbench: Small fix for the filtering --- src/workbench.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workbench.lua b/src/workbench.lua index 4b63469..9ad5053 100644 --- a/src/workbench.lua +++ b/src/workbench.lua @@ -16,7 +16,8 @@ for node, def in pairs(minetest.registered_nodes) do not (def.groups.not_in_creative_inventory == 1) and not (def.groups.not_cuttable == 1) and not def.groups.wool and - (def.tiles and not def.tiles[1]:find("default_mineral")) and + (def.tiles and type(def.tiles[1]) == "string" and not + def.tiles[1]:find("default_mineral")) and not def.mesecons and def.description and def.description ~= "" and -- 2.44.0