[_misc] Use rightclick to place young trees
This commit is contained in:
parent
971c17af16
commit
34fc56aecc
|
@ -1,7 +1,7 @@
|
||||||
minetest.register_craftitem(":bushes:youngtree", {
|
minetest.register_craftitem(":bushes:youngtree", {
|
||||||
description = "Young tree",
|
description = "Young tree",
|
||||||
inventory_image = "bushes_youngtree.png",
|
inventory_image = "bushes_youngtree.png",
|
||||||
on_use = function(stack, user, pointed_thing)
|
on_place = function(stack, user, pointed_thing)
|
||||||
if pointed_thing.type ~= "node" then return end
|
if pointed_thing.type ~= "node" then return end
|
||||||
local pos = pointed_thing.under
|
local pos = pointed_thing.under
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue