1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 18:10:26 +01:00

[_misc] Use rightclick to place young trees

This commit is contained in:
LeMagnesium 2016-08-16 21:00:40 +02:00
parent 971c17af16
commit 34fc56aecc
No known key found for this signature in database
GPG Key ID: A54DDB5272C51E8B

View File

@ -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