diff options
author | madmaxoft <github@xoft.cz> | 2014-05-02 11:18:02 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-02 12:35:34 +0200 |
commit | 4d704255de1368d7d9912458053c2de14be1b5ac (patch) | |
tree | 0177fbc8c3fa1b40b4d22f0563a3f934d5264749 /src/Bindings/PluginLua.h | |
parent | Fixed warnings in ManualBindings. (diff) | |
download | cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.tar cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.tar.gz cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.tar.bz2 cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.tar.lz cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.tar.xz cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.tar.zst cuberite-4d704255de1368d7d9912458053c2de14be1b5ac.zip |
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r-- | src/Bindings/PluginLua.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index 59542d23a..3357dd87b 100644 --- a/src/Bindings/PluginLua.h +++ b/src/Bindings/PluginLua.h @@ -79,7 +79,7 @@ public: virtual bool OnChunkUnloading (cWorld * a_World, int a_ChunkX, int a_ChunkZ) override; virtual bool OnCollectingPickup (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 OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) override; virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split) override; virtual bool OnExploded (cWorld & a_World, double a_ExplosionSize, bool a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) override; virtual bool OnExploding (cWorld & a_World, double & a_ExplosionSize, bool & a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) override; |