Option to hide uncraftable items (#240)

This setting only applies to non-creative players.
This commit is contained in:
SmallJoker
2024-01-06 12:35:54 +01:00
committed by GitHub
parent e7d03626b4
commit eb3bb03ebf
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)