1
0

ChunkGenerator: Changed to use cChunkCoords.

This commit is contained in:
Mattes D
2019-09-08 15:59:15 +02:00
parent 5f4df3e87d
commit ad24702b4e
8 changed files with 26 additions and 31 deletions

View File

@@ -71,7 +71,7 @@ EMCSBiome cChunkGenerator::GetBiomeAt(int a_BlockX, int a_BlockZ)
int Y = 0;
int ChunkX, ChunkZ;
cChunkDef::AbsoluteToRelative(a_BlockX, Y, a_BlockZ, ChunkX, ChunkZ);
GenerateBiomes(ChunkX, ChunkZ, Biomes);
GenerateBiomes({ChunkX, ChunkZ}, Biomes);
return cChunkDef::GetBiome(Biomes, a_BlockX, a_BlockZ);
}