Workbench: Small fix for the filtering

axinite
JP Guerrero 2016-12-09 11:52:34 +01:00
parent de94a402b9
commit a939dbd391
1 changed files with 2 additions and 1 deletions

View File

@ -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