From d7cb7cb5a888dc2af871ae82438b632ae463a7f4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 16 Jan 2017 13:58:05 +0100 Subject: [PATCH] Categorize redstone stuff in creative tab --- mods/craftingpack/crafting/creative.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/craftingpack/crafting/creative.lua b/mods/craftingpack/crafting/creative.lua index b43128792..42f663d06 100644 --- a/mods/craftingpack/crafting/creative.lua +++ b/mods/craftingpack/crafting/creative.lua @@ -50,7 +50,7 @@ function set_inv(filter, player) table.insert(creative_list, name) end elseif filter == "#redstone" then - if string.find(string.lower(def.name), "redstone") or string.find(string.lower(def.description), "redstone") then + if def.mesecons or def.groups.mesecon or def.groups.mesecon_conductor_craftable or def.groups.mesecon_effecor_off then table.insert(creative_list, name) end elseif filter == "#rail" then