diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-03-31 19:40:58 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-03-31 19:40:58 +0200 |
commit | 13195cd2075be1f07bd953d9251f26d21f0a908f (patch) | |
tree | 23add67e6d0c8359182a04fb1cfa40eefcfbf878 /src/World.cpp | |
parent | Merge pull request #3116 from LogicParrot/bedFix (diff) | |
download | cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.tar cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.tar.gz cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.tar.bz2 cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.tar.lz cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.tar.xz cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.tar.zst cuberite-13195cd2075be1f07bd953d9251f26d21f0a908f.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 79098487f..d8b77647a 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3817,7 +3817,7 @@ void cWorld::AddQueuedPlayers(void) // Add all the players in the grabbed list: { cCSLock Lock(m_CSPlayers); - for (auto Player : m_Players) + for (auto Player : PlayersToAdd) { ASSERT(std::find(m_Players.begin(), m_Players.end(), Player) == m_Players.end()); // Is it already in the list? HOW? LOGD("Adding player %s to world \"%s\".", Player->GetName().c_str(), m_WorldName.c_str()); |