mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-11-03 21:55:23 +01:00 
			
		
		
		
	[_misc] Use rightclick to place young trees
This commit is contained in:
		@@ -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
 | 
			
		||||
	
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user