summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-20 16:01:30 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-20 16:01:30 +0200
commit228dd61995a404b6c59832bf8b0f8375374c8acc (patch)
treed9f920e0f0096ddc70f3a2289459091fdc201f66 /src/Bindings/Plugin.h
parentFirst implementation of HOOK_SERVER_PING. (diff)
downloadcuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar
cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.gz
cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.bz2
cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.lz
cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.xz
cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.zst
cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 6f05af51b..fef86822d 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -91,7 +91,7 @@ public:
virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) = 0;
virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Face, const Vector3d & a_BlockHitPos) = 0;
virtual bool OnProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity) = 0;
- virtual bool OnServerPing (const AString & a_Username, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) = 0;
+ virtual bool OnServerPing (AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) = 0;
virtual bool OnSpawnedEntity (cWorld & a_World, cEntity & a_Entity) = 0;
virtual bool OnSpawnedMonster (cWorld & a_World, cMonster & a_Monster) = 0;
virtual bool OnSpawningEntity (cWorld & a_World, cEntity & a_Entity) = 0;