Added new flowers on bonemeal use (#5011)
+ Added new biome-dependent flower placement * Update planter algorithm Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
This commit is contained in:
@@ -93,7 +93,7 @@ cChunk * cChunkMap::FindChunk(int a_ChunkX, int a_ChunkZ)
|
||||
{
|
||||
ASSERT(m_CSChunks.IsLockedByCurrentThread());
|
||||
|
||||
auto Chunk = m_Chunks.find({ a_ChunkX, a_ChunkZ });
|
||||
const auto Chunk = m_Chunks.find({ a_ChunkX, a_ChunkZ });
|
||||
return (Chunk == m_Chunks.end()) ? nullptr : &Chunk->second;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user