diff options
author | Mattes D <github@xoft.cz> | 2014-11-12 21:59:42 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-12 21:59:42 +0100 |
commit | c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e (patch) | |
tree | 423b2c9ef6384f0f896980e83333b6b5ded09712 | |
parent | BiomalNoise3D: Added a few biomes. (diff) | |
download | cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.tar cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.tar.gz cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.tar.bz2 cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.tar.lz cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.tar.xz cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.tar.zst cuberite-c9a3cb4d3f9fa9262b5adf775a8af0cc39234f5e.zip |
-rw-r--r-- | src/Root.cpp | 2 | ||||
-rw-r--r-- | src/Root.h | 2 | ||||
-rw-r--r-- | src/World.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 49d6117eb..55e1c1156 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -634,7 +634,7 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac 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->DoWithPlayerByUUID(a_PlayerUUID, a_Callback)) diff --git a/src/Root.h b/src/Root.h index 618f70fb8..ec6b83fcc 100644 --- a/src/Root.h +++ b/src/Root.h @@ -125,7 +125,7 @@ public: /// Finds a player from a partial or complete player name and calls the callback - case-insensitive bool FindAndDoWithPlayer(const AString & a_PlayerName, 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 << diff --git a/src/World.h b/src/World.h index f1bf9371a..1a9f60a5c 100644 --- a/src/World.h +++ b/src/World.h @@ -325,7 +325,7 @@ public: /** 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 /** Adds the entity into its appropriate chunk; takes ownership of the entity ptr. |