mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-03-14 10:02:32 +01:00
Resort some food and non-food items in creative
This commit is contained in:
@ -37,7 +37,7 @@ local function set_inv(filter, player)
|
||||
table.insert(creative_list, name)
|
||||
end
|
||||
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)
|
||||
end
|
||||
elseif filter == "\0tools" then
|
||||
|
Reference in New Issue
Block a user