mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-11-04 12:55:29 +01:00 
			
		
		
		
	Re-enable backwards compatibility (sorry for disabling)
This commit is contained in:
		@@ -315,12 +315,12 @@ minetest.register_craft({
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
--minetest.register_abm(
 | 
			
		||||
--	{nodenames = {"mesecons:mesecon_off", "mesecons:mesecon_on"},
 | 
			
		||||
--	interval = 2,
 | 
			
		||||
--	chance = 1,
 | 
			
		||||
--	action = function(pos, node, active_object_count, active_object_count_wider)
 | 
			
		||||
--		mesecon:update_autoconnect(pos, false, true)
 | 
			
		||||
--	end,
 | 
			
		||||
--})
 | 
			
		||||
minetest.register_abm(
 | 
			
		||||
	{nodenames = {"mesecons:mesecon_off", "mesecons:mesecon_on"},
 | 
			
		||||
	interval = 2,
 | 
			
		||||
	chance = 1,
 | 
			
		||||
	action = function(pos, node, active_object_count, active_object_count_wider)
 | 
			
		||||
		mesecon:update_autoconnect(pos, false, true)
 | 
			
		||||
	end,
 | 
			
		||||
})
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user