From: JP Guerrero Date: Thu, 1 Dec 2016 14:35:10 +0000 (+0100) Subject: Workbench: fix minor registration issue with tiles field X-Git-Tag: 1.0~21 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=cd75beed21dd3b60b38510e88c4453bc38553d23;p=xdecor.git Workbench: fix minor registration issue with tiles field --- diff --git a/src/workbench.lua b/src/workbench.lua index 1e89c3c..c64f4ee 100644 --- a/src/workbench.lua +++ b/src/workbench.lua @@ -15,7 +15,7 @@ for node, def in pairs(minetest.registered_nodes) do not def.allow_metadata_inventory_take and not (def.groups.not_in_creative_inventory == 1) and not def.groups.wool and - not def.tiles[1]:find("default_mineral") and + (def.tiles and not def.tiles[1]:find("default_mineral")) and not def.mesecons and def.description and def.description ~= "" and