diff options
Diffstat (limited to 'source/cPlugin.h')
-rw-r--r-- | source/cPlugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cPlugin.h b/source/cPlugin.h index 1c013c9e2..c3f7c41b6 100644 --- a/source/cPlugin.h +++ b/source/cPlugin.h @@ -56,8 +56,8 @@ public: virtual bool OnChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cLuaChunk * a_pLuaChunk); virtual bool OnCollectItem (cPickup* a_Pickup, cPlayer* a_Player ); virtual bool OnCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe); - virtual bool OnDisconnect (const AString & a_Reason, cPlayer * a_Player ); - virtual bool OnKilled (cPawn* a_Killed, cEntity* a_Killer ); + virtual bool OnDisconnect (cPlayer * a_Player, const AString & a_Reason); + virtual bool OnKilled (cPawn * a_Killed, cEntity* a_Killer ); virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username); virtual bool OnPlayerJoin (cPlayer* a_Player ); virtual void OnPlayerMove (cPlayer* a_Player ); |