mirror of
				https://gitlab.com/rautars/weather_pack.git
				synced 2025-11-04 02:15:26 +01:00 
			
		
		
		
	🐈
This commit is contained in:
		@@ -63,9 +63,9 @@ minetest.register_abm({
 | 
			
		||||
			if minetest.registered_nodes[node.name].drawtype == "normal"
 | 
			
		||||
			or minetest.registered_nodes[node.name].drawtype == "allfaces_optional" then
 | 
			
		||||
				local np = addvectors(pos, {x=0, y=1, z=0})
 | 
			
		||||
				if minetest.env:get_node_light(np, 0.5) == 15
 | 
			
		||||
				and minetest.env:get_node(np).name == "air" then
 | 
			
		||||
					minetest.env:add_node(np, {name="weather:snow_cover"})
 | 
			
		||||
				if minetest.get_node_light(np, 0.5) == 15
 | 
			
		||||
				and minetest.get_node(np).name == "air" then
 | 
			
		||||
					minetest.add_node(np, {name="weather:snow_cover"})
 | 
			
		||||
				end
 | 
			
		||||
			end
 | 
			
		||||
		end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user