1
0
Fork 0

Minor creative sorting fix

This commit is contained in:
Wuzzy 2017-01-06 01:37:13 +01:00
parent d72967d071
commit d49f49b876
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function set_inv(filter, player)
table.insert(creative_list, name) table.insert(creative_list, name)
end end
elseif filter == "#food" then 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) table.insert(creative_list, name)
end end
elseif filter == "#tools" then elseif filter == "#tools" then