summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
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/Root.cpp
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/Root.cpp')
-rw-r--r--src/Root.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 539284665..49d6117eb 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -633,11 +633,11 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac
-bool cRoot::FindAndDoWithUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback)
+bool cRoot::DoWithPlayerByUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback)
{
for (WorldMap::iterator itr = m_WorldsByName.begin(); itr != m_WorldsByName.end();itr++)
{
- if (itr->second->FindAndDoWithUUID(a_PlayerUUID, a_Callback))
+ if (itr->second->DoWithPlayerByUUID(a_PlayerUUID, a_Callback))
{
return true;
}