forked from MineClone5/MineClone5
Revert adding max item count
This commit is contained in:
parent
92274ae1fa
commit
c0d2d5e5fb
|
@ -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 New Issue