mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Resort some food and non-food items in creative
This commit is contained in:
parent
2044b389ed
commit
6942c23ae2
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ local function set_inv(filter, player)
|
||||||
table.insert(creative_list, name)
|
table.insert(creative_list, name)
|
||||||
end
|
end
|
||||||
elseif filter == "\0food" then
|
elseif filter == "\0food" then
|
||||||
if def.groups.food or def.groups.eatable then
|
if (def.groups.food and not def.groups.brewitem) or def.groups.eatable then
|
||||||
table.insert(creative_list, name)
|
table.insert(creative_list, name)
|
||||||
end
|
end
|
||||||
elseif filter == "\0tools" then
|
elseif filter == "\0tools" then
|
||||||
|
|
Loading…
Reference in a new issue