From d49f49b8764504346fe0534b6f219f53b58c8b32 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 6 Jan 2017 01:37:13 +0100 Subject: [PATCH] Minor creative sorting fix --- 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 ffee4c1b6..26b96b5fa 100644 --- a/mods/craftingpack/crafting/creative.lua +++ b/mods/craftingpack/crafting/creative.lua @@ -62,7 +62,7 @@ function set_inv(filter, player) table.insert(creative_list, name) end elseif filter == "#food" then - if def.groups.food ~= nil or string.find(string.lower(def.description), "apple") or string.find(string.lower(def.description), "bread") then + if def.groups.food ~= nil then table.insert(creative_list, name) end elseif filter == "#tools" then