diff options
author | Lukas Pioch <lukas@zgow.de> | 2014-11-05 21:57:38 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2014-11-05 21:57:38 +0100 |
commit | 13b20d6fe29ebccc60b6be0d3baa17e0353f4a06 (patch) | |
tree | 4782bcbc065945d9d94351c7803caa9e8763e5c1 /src/Root.cpp | |
parent | Simplified FindAndDoWithUUID, formatted line (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Root.cpp | 4 |
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; } |