mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-04 16:53:46 +01:00
Only register hopper -> composter ABMs if composter mod is enabled
parent
8d921c0671
commit
47eda5b69e
@ -593,6 +593,7 @@ minetest.register_abm({
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.get_modpath("mcl_composters") then
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
label = "Bonemeal extraction from composter",
|
label = "Bonemeal extraction from composter",
|
||||||
nodenames = { "mcl_hoppers:hopper", "mcl_hoppers:hopper_side" },
|
nodenames = { "mcl_hoppers:hopper", "mcl_hoppers:hopper_side" },
|
||||||
@ -696,6 +697,7 @@ minetest.register_abm({
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_hoppers:hopper",
|
output = "mcl_hoppers:hopper",
|
||||||
|
Loading…
Reference in New Issue
Block a user