mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Doors: Disable client dig prediction for protected doors
This commit is contained in:
		@@ -410,6 +410,7 @@ function doors.register(name, def)
 | 
			
		||||
 | 
			
		||||
			return secret, "a locked door", owner
 | 
			
		||||
		end
 | 
			
		||||
		def.node_dig_prediction = ""
 | 
			
		||||
	else
 | 
			
		||||
		def.on_blast = function(pos, intensity)
 | 
			
		||||
			minetest.remove_node(pos)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user