From 08f9c0074a27120a0ba4136a3fe559558c7be85c Mon Sep 17 00:00:00 2001 From: Michieal Date: Thu, 5 Jan 2023 18:31:21 -0500 Subject: [PATCH] REVERT: Fix mcl_dyes' mod.conf to use mcl_bamboo grow and check functions. --- mods/ITEMS/mcl_dye/init.lua | 6 ++++-- mods/ITEMS/mcl_dye/mod.conf | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_dye/init.lua b/mods/ITEMS/mcl_dye/init.lua index bccbf1dba..b66d08a69 100644 --- a/mods/ITEMS/mcl_dye/init.lua +++ b/mods/ITEMS/mcl_dye/init.lua @@ -353,14 +353,16 @@ local function apply_bone_meal(pointed_thing, user) return true end - -- Handle applying bonemeal to bamboo. +--[[ + Here for when Bonemeal becomes an api, there's code if needed for handling applying to bamboo. + -- Handle applying bonemeal to bamboo. elseif mcl_bamboo.is_bamboo(n.name) then local success = mcl_bamboo.grow_bamboo(pos, true) if success then mcl_dye.add_bone_meal_particle(pos) end return success - +--]] elseif n.name == "mcl_flowers:fern" then mcl_dye.add_bone_meal_particle(pos) -- Fern: Grow into large fern diff --git a/mods/ITEMS/mcl_dye/mod.conf b/mods/ITEMS/mcl_dye/mod.conf index 3cb8dd006..fe93278fc 100644 --- a/mods/ITEMS/mcl_dye/mod.conf +++ b/mods/ITEMS/mcl_dye/mod.conf @@ -1,3 +1,2 @@ name = mcl_dye depends = mcl_core, mcl_flowers, mcl_mobitems, mcl_cocoas -optional = mcl_bamboo