From 17e02aec3c96bbfd21e7ecfa1e13ca86977665fd Mon Sep 17 00:00:00 2001 From: CyberMango Date: Sun, 1 Jan 2023 23:02:38 +0200 Subject: [PATCH] Applying bone meal on a stage 3 sweet berry no longer grows it. It now ignores the bone meal and harvests the sweet berry as normal. --- mods/ITEMS/mcl_farming/sweet_berry.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_farming/sweet_berry.lua b/mods/ITEMS/mcl_farming/sweet_berry.lua index 86c27c182..9033f5077 100644 --- a/mods/ITEMS/mcl_farming/sweet_berry.lua +++ b/mods/ITEMS/mcl_farming/sweet_berry.lua @@ -51,7 +51,8 @@ for i=0, 3 do minetest.record_protection_violation(pos, pn) return itemstack end - if mcl_dye and clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then + if 3 ~= i and mcl_dye and + clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then mcl_dye.apply_bone_meal({under=pos},clicker) if not minetest.is_creative_enabled(pn) then itemstack:take_item()