From 8103aaae79cf658905be8aa7f42fe11c472c0de1 Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Thu, 25 Aug 2022 17:15:31 -0700 Subject: [PATCH] fix typo to limit polar leaves drops to 1 (#15) --- node_defs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_defs.lua b/node_defs.lua index 863db71..8db6e40 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -558,7 +558,7 @@ end local poplar_leaves_drop = minetest.registered_nodes["moretrees:poplar_leaves"].drop minetest.override_item("moretrees:poplar_leaves", { drop = { - max_items = poplar_leaves_drop.maxitems, + max_items = poplar_leaves_drop.max_items, items = { {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 },