From fb28e192e6b39790aa3c4bbdd03ab6ad973e1c2e Mon Sep 17 00:00:00 2001 From: CyberMango Date: Sun, 1 Jan 2023 22:55:44 +0200 Subject: [PATCH] Bone meal applied on sweet berries only grows them by 1 stage now. The interface of the grow plant is a bit confusing since even with stages set to 0 the plant grows by 1 stage (if other conditions such as light are met). Therefore changing it to 0 makes the plant grow by 1. --- mods/ITEMS/mcl_dye/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_dye/init.lua b/mods/ITEMS/mcl_dye/init.lua index 80219d298..16672b554 100644 --- a/mods/ITEMS/mcl_dye/init.lua +++ b/mods/ITEMS/mcl_dye/init.lua @@ -275,7 +275,7 @@ local function apply_bone_meal(pointed_thing,user) if n.name == "mcl_farming:sweet_berry_bush_3" then return minetest.add_item(vector.offset(pos,math.random()-0.5,math.random()-0.5,math.random()-0.5),"mcl_farming:sweet_berry") else - return mcl_farming:grow_plant("plant_sweet_berry_bush", pos, n, 1, true) + return mcl_farming:grow_plant("plant_sweet_berry_bush", pos, n, 0, true) end elseif n.name == "mcl_cocoas:cocoa_1" or n.name == "mcl_cocoas:cocoa_2" then mcl_dye.add_bone_meal_particle(pos)