summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2014-11-05 21:57:38 +0100
committerLukas Pioch <lukas@zgow.de>2014-11-05 21:57:38 +0100
commit13b20d6fe29ebccc60b6be0d3baa17e0353f4a06 (patch)
tree4782bcbc065945d9d94351c7803caa9e8763e5c1 /src/World.h
parentSimplified FindAndDoWithUUID, formatted line (diff)
downloadcuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.tar
cuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.tar.gz
cuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.tar.bz2
cuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.tar.lz
cuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.tar.xz
cuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.tar.zst
cuberite-13b20d6fe29ebccc60b6be0d3baa17e0353f4a06.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h
index aeb8abf81..f1bf9371a 100644
--- a/src/World.h
+++ b/src/World.h
@@ -323,8 +323,8 @@ public:
// TODO: This interface is dangerous - rewrite to DoWithClosestPlayer(pos, sight, action)
cPlayer * FindClosestPlayer(const Vector3d & a_Pos, float a_SightLimit, bool a_CheckLineOfSight = true);
- /** Finds a player with the same uuid and call the callback */
- bool FindAndDoWithUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<
+ /** Finds the player over his uuid and calls the callback */
+ bool DoWithPlayerByUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<
void SendPlayerList(cPlayer * a_DestPlayer); // Sends playerlist to the player