mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 08:15:09 +00:00
Minor creative sorting fix
This commit is contained in:
parent
d72967d071
commit
d49f49b876
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue