summaryrefslogtreecommitdiffstats
path: root/source/cChunkGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 19:30:37 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 19:30:37 +0200
commit0f39e9b10b80efadc82e0329c977c9fe00112489 (patch)
treef8d262c4f4bf3a31ad3eea57cdd4cf8b79d1f658 /source/cChunkGenerator.cpp
parentRemoved recipes.txt from nightbuild packing list (diff)
downloadcuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.gz
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.bz2
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.lz
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.xz
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.zst
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.zip
Diffstat (limited to 'source/cChunkGenerator.cpp')
-rw-r--r--source/cChunkGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunkGenerator.cpp b/source/cChunkGenerator.cpp
index bed9d5cb8..e323ed549 100644
--- a/source/cChunkGenerator.cpp
+++ b/source/cChunkGenerator.cpp
@@ -485,7 +485,7 @@ void cChunkGenerator::DoGenerate(int a_ChunkX, int a_ChunkY, int a_ChunkZ)
cBlockEntityList BlockEntities;
cLuaChunk LuaChunk( BlockTypes, BlockMeta, HeightMap, BiomeMap );
- if( cRoot::Get()->GetPluginManager()->CallHook( cPluginManager::E_PLUGIN_CHUNK_GENERATING, 3, a_ChunkX, a_ChunkZ, &LuaChunk ) )
+ if( cRoot::Get()->GetPluginManager()->CallHookChunkGenerating(m_World, a_ChunkX, a_ChunkZ, &LuaChunk ) )
{
// A plugin interrupted generation, handle something plugin specific
if( LuaChunk.IsUsingDefaultBiomes() )