summaryrefslogtreecommitdiffstats
path: root/source/Plugin.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-25 11:12:29 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-25 11:12:29 +0100
commit2960f43782f0ec46e5ad494544a0f76c6a6741df (patch)
treec0cfc25589990f7f85d01002db95dd0093e84d71 /source/Plugin.h
parentAnvilStats: ignoring png files (diff)
downloadcuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.tar
cuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.tar.gz
cuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.tar.bz2
cuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.tar.lz
cuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.tar.xz
cuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.tar.zst
cuberite-2960f43782f0ec46e5ad494544a0f76c6a6741df.zip
Diffstat (limited to '')
-rw-r--r--source/Plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Plugin.h b/source/Plugin.h
index bae6d39a2..be453b811 100644
--- a/source/Plugin.h
+++ b/source/Plugin.h
@@ -15,7 +15,7 @@ class cItem;
class cEntity;
class cPawn;
class cWorld;
-class cLuaChunk;
+class cChunkDesc;
struct TakeDamageInfo;
// fwd: cPlayer.h
@@ -51,7 +51,7 @@ public:
// TODO: virtual bool OnBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups);
virtual bool OnChat (cPlayer * a_Player, const AString & a_Message);
virtual bool OnChunkGenerated (cWorld * a_World, int a_ChunkX, int a_ChunkZ);
- virtual bool OnChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cLuaChunk * a_pLuaChunk);
+ virtual bool OnChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cChunkDesc * a_pLuaChunk);
virtual bool OnCollectPickup (cPlayer * a_Player, cPickup * a_Pickup);
virtual bool OnCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
virtual bool OnDisconnect (cPlayer * a_Player, const AString & a_Reason);