Option to hide uncraftable items

This setting only applies to non-creative players.
This commit is contained in:
SmallJoker
2023-12-24 11:54:56 +01:00
parent 693ca112b8
commit 4499ae1139
4 changed files with 33 additions and 16 deletions

View File

@ -51,6 +51,7 @@ minetest.after(0.01, function()
end
end
end
table.sort(ui.items_list)
ui.items_list_size = #ui.items_list
print("Unified Inventory. Inventory size: "..ui.items_list_size)