diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-24 11:49:00 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-24 11:49:00 +0200 |
commit | f0fc0edd21b9340ce48561a5fceee29e4e055dff (patch) | |
tree | 658ec25a188e8ebe16ea43f201797601d6254d35 /source/cPlugin_NewLua.h | |
parent | Ignore some runtime folders (diff) | |
download | cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.tar cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.tar.gz cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.tar.bz2 cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.tar.lz cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.tar.xz cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.tar.zst cuberite-f0fc0edd21b9340ce48561a5fceee29e4e055dff.zip |
Diffstat (limited to 'source/cPlugin_NewLua.h')
-rw-r--r-- | source/cPlugin_NewLua.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cPlugin_NewLua.h b/source/cPlugin_NewLua.h index 7ae38c1e5..ed40bf458 100644 --- a/source/cPlugin_NewLua.h +++ b/source/cPlugin_NewLua.h @@ -31,7 +31,7 @@ public: //tolua_export virtual bool OnChat (cPlayer * a_Player, const AString & a_Message) override; virtual void OnChunkGenerated (cWorld * a_World, int a_ChunkX, int a_ChunkZ) override; virtual bool OnChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cLuaChunk * a_pLuaChunk ) override; - virtual bool OnCollectItem (cPickup* a_Pickup, cPlayer* a_Player ) override; + virtual bool OnCollectPickup (cPlayer * a_Player, cPickup * a_Pickup) override; virtual bool OnCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override; virtual bool OnDisconnect (cPlayer * a_Player, const AString & a_Reason) override; virtual bool OnKilled (cPawn* a_Killed, cEntity* a_Killer ) override; |