mirror of
				https://github.com/mt-mods/biome_lib.git
				synced 2025-10-31 04:55:33 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			2019-05-22
			...
			5a910875af
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 5a910875af | 
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							| @@ -85,7 +85,7 @@ biome_lib.perlin_humidity = PerlinNoise(humidity_seeddiff, humidity_octaves, hum | ||||
| -- Local functions | ||||
|  | ||||
| local function get_biome_data(pos, perlin_fertile) | ||||
| 	local fertility = perlin_fertile:get2d({x=pos.x, y=pos.z}) | ||||
| 	local fertility = perlin_fertile:get_2d({x=pos.x, y=pos.z}) | ||||
|  | ||||
| 	if type(minetest.get_biome_data) == "function" then | ||||
| 		local data = minetest.get_biome_data(pos) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user