mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
REVERT: Fix mcl_dyes' mod.conf to use mcl_bamboo grow and check functions.
This commit is contained in:
parent
c4969c13cd
commit
08f9c0074a
2 changed files with 4 additions and 3 deletions
|
@ -353,6 +353,8 @@ local function apply_bone_meal(pointed_thing, user)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--[[
|
||||||
|
Here for when Bonemeal becomes an api, there's code if needed for handling applying to bamboo.
|
||||||
-- Handle applying bonemeal to bamboo.
|
-- Handle applying bonemeal to bamboo.
|
||||||
elseif mcl_bamboo.is_bamboo(n.name) then
|
elseif mcl_bamboo.is_bamboo(n.name) then
|
||||||
local success = mcl_bamboo.grow_bamboo(pos, true)
|
local success = mcl_bamboo.grow_bamboo(pos, true)
|
||||||
|
@ -360,7 +362,7 @@ local function apply_bone_meal(pointed_thing, user)
|
||||||
mcl_dye.add_bone_meal_particle(pos)
|
mcl_dye.add_bone_meal_particle(pos)
|
||||||
end
|
end
|
||||||
return success
|
return success
|
||||||
|
--]]
|
||||||
elseif n.name == "mcl_flowers:fern" then
|
elseif n.name == "mcl_flowers:fern" then
|
||||||
mcl_dye.add_bone_meal_particle(pos)
|
mcl_dye.add_bone_meal_particle(pos)
|
||||||
-- Fern: Grow into large fern
|
-- Fern: Grow into large fern
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
name = mcl_dye
|
name = mcl_dye
|
||||||
depends = mcl_core, mcl_flowers, mcl_mobitems, mcl_cocoas
|
depends = mcl_core, mcl_flowers, mcl_mobitems, mcl_cocoas
|
||||||
optional = mcl_bamboo
|
|
||||||
|
|
Loading…
Reference in a new issue