mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-27 04:51:06 +01:00
Revert adding max item count
This commit is contained in:
parent
92274ae1fa
commit
c0d2d5e5fb
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ local function set_inv(filter, player)
|
||||||
table.sort(creative_list)
|
table.sort(creative_list)
|
||||||
inv:set_size("main", #creative_list)
|
inv:set_size("main", #creative_list)
|
||||||
for _,itemstring in ipairs(creative_list) do
|
for _,itemstring in ipairs(creative_list) do
|
||||||
inv:add_item("main", ItemStack(itemstring .. " " .. minetest.registered_items[itemstring].stack_max))
|
inv:add_item("main", ItemStack(itemstring))
|
||||||
end
|
end
|
||||||
crafting.creative_inventory_size = #creative_list
|
crafting.creative_inventory_size = #creative_list
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue