diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-05 17:20:48 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-05 17:20:48 +0200 |
commit | d832996e198605c20760c72433e35beca3192a5a (patch) | |
tree | aedaefb6b7753a14eb27c7c6fd3e8e3a3b7c3df3 /source/cChunkGenerator.cpp | |
parent | Fixed previous commit's recipes and items. (diff) | |
download | cuberite-d832996e198605c20760c72433e35beca3192a5a.tar cuberite-d832996e198605c20760c72433e35beca3192a5a.tar.gz cuberite-d832996e198605c20760c72433e35beca3192a5a.tar.bz2 cuberite-d832996e198605c20760c72433e35beca3192a5a.tar.lz cuberite-d832996e198605c20760c72433e35beca3192a5a.tar.xz cuberite-d832996e198605c20760c72433e35beca3192a5a.tar.zst cuberite-d832996e198605c20760c72433e35beca3192a5a.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunkGenerator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/cChunkGenerator.cpp b/source/cChunkGenerator.cpp index 31df6ba5d..14008add7 100644 --- a/source/cChunkGenerator.cpp +++ b/source/cChunkGenerator.cpp @@ -9,6 +9,8 @@ #include "CompoGen.h"
#include "StructGen.h"
#include "FinishGen.h"
+#include "cRoot.h"
+#include "cPluginManager.h"
@@ -484,6 +486,8 @@ void cChunkGenerator::DoGenerate(int a_ChunkX, int a_ChunkY, int a_ChunkZ) Entities, BlockEntities,
true
);
+
+ cRoot::Get()->GetPluginManager()->CallHook(cPluginManager::E_PLUGIN_CHUNK_GENERATED, 3, m_World, a_ChunkX, a_ChunkZ);
}
|