mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-26 09:40:28 +01:00
[_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", {
|
||||
description = "Young tree",
|
||||
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
|
||||
local pos = pointed_thing.under
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user