diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-03 23:25:35 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-03 23:25:35 +0200 |
commit | 5e670a050bb263ec66227e572eaf9fe0a95ccf1c (patch) | |
tree | fbe5e46923e7ccbb33a5857c8bc21787410ca0be /src/World.cpp | |
parent | Define _DEBUG macro for tests and main server (#4843) (diff) | |
download | cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.tar cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.tar.gz cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.tar.bz2 cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.tar.lz cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.tar.xz cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.tar.zst cuberite-5e670a050bb263ec66227e572eaf9fe0a95ccf1c.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 c934c3650..f5b64f297 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3506,7 +3506,7 @@ void cWorld::AddQueuedPlayers(void) // Add to chunkmap, if not already there (Spawn vs MoveToWorld): auto PlayerPtr = Player.get(); - m_ChunkMap->AddEntityIfNotPresent(std::move(Player)); + m_ChunkMap->AddPlayer(std::move(Player)); PlayerPtr->OnAddToWorld(*this); ASSERT(!PlayerPtr->IsTicking()); PlayerPtr->SetIsTicking(true); |