summaryrefslogtreecommitdiffstats
path: root/source/Generating/ChunkGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-08 21:57:42 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-08 21:57:42 +0100
commitb55afc940b4a95ac0191cc24a40c5c3824ab2f0f (patch)
tree83fe5517c9685d43986b87a28a4dfdcb141d381d /source/Generating/ChunkGenerator.cpp
parentPrepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities. (diff)
downloadcuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.tar
cuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.tar.gz
cuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.tar.bz2
cuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.tar.lz
cuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.tar.xz
cuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.tar.zst
cuberite-b55afc940b4a95ac0191cc24a40c5c3824ab2f0f.zip
Diffstat (limited to 'source/Generating/ChunkGenerator.cpp')
-rw-r--r--source/Generating/ChunkGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Generating/ChunkGenerator.cpp b/source/Generating/ChunkGenerator.cpp
index 0285fa7af..f235215da 100644
--- a/source/Generating/ChunkGenerator.cpp
+++ b/source/Generating/ChunkGenerator.cpp
@@ -266,7 +266,7 @@ void cChunkGenerator::Execute(void)
void cChunkGenerator::DoGenerate(int a_ChunkX, int a_ChunkY, int a_ChunkZ)
{
- cChunkDesc ChunkDesc;
+ cChunkDesc ChunkDesc(a_ChunkX, a_ChunkZ);
cRoot::Get()->GetPluginManager()->CallHookChunkGenerating(m_World, a_ChunkX, a_ChunkZ, &ChunkDesc);
m_Generator->DoGenerate(a_ChunkX, a_ChunkZ, ChunkDesc);
cRoot::Get()->GetPluginManager()->CallHookChunkGenerated(m_World, a_ChunkX, a_ChunkZ, &ChunkDesc);