summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-20 22:22:38 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-20 22:22:38 +0200
commit4da61e67d7638c46dc56fe451e81a5b4b0f134db (patch)
tree2e79681edadd6be596cdf8c18a29ea2c9a7be55d /src/Bindings/PluginLua.h
parentAdded a_ClientHandle to the HOOK_SERVER_PING hook. (diff)
downloadcuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar
cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.gz
cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.bz2
cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.lz
cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.xz
cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.zst
cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 549045849..d3b0d2723 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -117,7 +117,7 @@ public:
virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;
virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Face, const Vector3d & a_BlockHitPos) override;
virtual bool OnProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity) override;
- virtual bool OnServerPing (cClientHandle & a_ClientHandle, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) override;
+ virtual bool OnServerPing (cClientHandle & a_ClientHandle, AString & a_ServerDescription, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) override;
virtual bool OnSpawnedEntity (cWorld & a_World, cEntity & a_Entity) override;
virtual bool OnSpawnedMonster (cWorld & a_World, cMonster & a_Monster) override;
virtual bool OnSpawningEntity (cWorld & a_World, cEntity & a_Entity) override;