summaryrefslogtreecommitdiffstats
path: root/src/ChunkGeneratorThread.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-08 15:59:15 +0200
committerMattes D <github@xoft.cz>2019-09-08 20:21:49 +0200
commitad24702b4e0569318c97391cd930c5956d190016 (patch)
tree48182f7af3185b8a5ef217ac408e0a3756ba8964 /src/ChunkGeneratorThread.cpp
parentShapeGen, HeiGen: Changed to use cChunkCoords. (diff)
downloadcuberite-ad24702b4e0569318c97391cd930c5956d190016.tar
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.gz
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.bz2
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.lz
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.xz
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.zst
cuberite-ad24702b4e0569318c97391cd930c5956d190016.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkGeneratorThread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkGeneratorThread.cpp b/src/ChunkGeneratorThread.cpp
index a5703bd2c..c87c1db21 100644
--- a/src/ChunkGeneratorThread.cpp
+++ b/src/ChunkGeneratorThread.cpp
@@ -99,7 +99,7 @@ void cChunkGeneratorThread::GenerateBiomes(cChunkCoords a_Coords, cChunkDef::Bio
{
if (m_Generator != nullptr)
{
- m_Generator->GenerateBiomes(a_Coords.m_ChunkX, a_Coords.m_ChunkZ, a_BiomeMap);
+ m_Generator->GenerateBiomes(a_Coords, a_BiomeMap);
}
}
@@ -247,7 +247,7 @@ void cChunkGeneratorThread::DoGenerate(cChunkCoords a_Coords)
cChunkDesc ChunkDesc(a_Coords);
m_PluginInterface->CallHookChunkGenerating(ChunkDesc);
- m_Generator->Generate(a_Coords.m_ChunkX, a_Coords.m_ChunkZ, ChunkDesc);
+ m_Generator->Generate(ChunkDesc);
m_PluginInterface->CallHookChunkGenerated(ChunkDesc);
#ifdef _DEBUG