mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Screwdriver: drop nodes if no longer attached.
This should be fairly cheap and pops off items if needed.
This commit is contained in:
		@@ -130,6 +130,7 @@ screwdriver.handler = function(itemstack, user, pointed_thing, mode, uses)
 | 
			
		||||
	if should_rotate then
 | 
			
		||||
		node.param2 = new_param2
 | 
			
		||||
		minetest.swap_node(pos, node)
 | 
			
		||||
		minetest.check_for_falling(pos)
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
	if not minetest.setting_getbool("creative_mode") then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user