Drop glow berries on rightclick instead of leftclick

This commit is contained in:
cora 2023-12-11 04:17:46 +01:00 committed by cora
parent 713f2c64c0
commit d555200f4e

View File

@ -192,7 +192,7 @@ minetest.register_node("mcl_lush_caves:cave_vines_lit", {
_mcl_blast_resistance = 0,
_mcl_blast_hardness = 1,
drop = "mcl_lush_caves:glow_berry",
on_dig = function(pos)
on_rightclick = function(pos)
minetest.add_item(pos,"mcl_lush_caves:glow_berry")
minetest.set_node(pos,{name="mcl_lush_caves:cave_vines"})
end,