Skip to content
Snippets Groups Projects
Commit cd75beed authored by JP Guerrero's avatar JP Guerrero
Browse files

Workbench: fix minor registration issue with tiles field

parent fa15d1b7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment