fix typo to limit polar leaves drops to 1 (#15)

This commit is contained in:
fluxionary 2022-08-25 17:15:31 -07:00 committed by GitHub
parent c4d1dde83c
commit 8103aaae79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,7 +558,7 @@ end
local poplar_leaves_drop = minetest.registered_nodes["moretrees:poplar_leaves"].drop local poplar_leaves_drop = minetest.registered_nodes["moretrees:poplar_leaves"].drop
minetest.override_item("moretrees:poplar_leaves", { minetest.override_item("moretrees:poplar_leaves", {
drop = { drop = {
max_items = poplar_leaves_drop.maxitems, max_items = poplar_leaves_drop.max_items,
items = { items = {
{items = {"moretrees:poplar_sapling"}, rarity = 1.33 * poplar_leaves_drop.items[1].rarity }, {items = {"moretrees:poplar_sapling"}, rarity = 1.33 * poplar_leaves_drop.items[1].rarity },
{items = {"moretrees:poplar_small_sapling"}, rarity = 1.33 * poplar_leaves_drop.items[1].rarity }, {items = {"moretrees:poplar_small_sapling"}, rarity = 1.33 * poplar_leaves_drop.items[1].rarity },