Drop glow berries on rightclick instead of leftclick

This commit is contained in:
cora 2023-12-11 04:17:46 +01:00 committed by the-real-herowl
parent d94bd636d1
commit 354e2364cb

View file

@ -192,7 +192,7 @@ minetest.register_node("mcl_lush_caves:cave_vines_lit", {
_mcl_blast_resistance = 0, _mcl_blast_resistance = 0,
_mcl_blast_hardness = 1, _mcl_blast_hardness = 1,
drop = "mcl_lush_caves:glow_berry", drop = "mcl_lush_caves:glow_berry",
on_dig = 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"})
end, end,