Fix glow berry vines shears and normal drop

This commit is contained in:
cora 2023-12-28 17:32:42 +01:00 committed by the-real-herowl
parent 354e2364cb
commit d729eaf2b6

View File

@ -191,7 +191,18 @@ minetest.register_node("mcl_lush_caves:cave_vines_lit", {
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
_mcl_blast_resistance = 0, _mcl_blast_resistance = 0,
_mcl_blast_hardness = 1, _mcl_blast_hardness = 1,
drop = "mcl_lush_caves:glow_berry", _mcl_shears_drop = true,
drop = {
max_items = 2,
items = {
{
items = {
"mcl_lush_caves:glow_berry ",
"mcl_lush_caves:cave_vines",
},
},
},
},
on_rightclick = function(pos) on_rightclick = function(pos)
minetest.add_item(pos,"mcl_lush_caves:glow_berry") minetest.add_item(pos,"mcl_lush_caves:glow_berry")
minetest.set_node(pos,{name="mcl_lush_caves:cave_vines"}) minetest.set_node(pos,{name="mcl_lush_caves:cave_vines"})