diff options
author | Mat <mail@mathias.is> | 2020-06-24 13:48:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 13:48:50 +0200 |
commit | e0a361de2a7e6b5f1f63905f5495137cf8cd7f51 (patch) | |
tree | c688c5c269ca8ad7126dc71a57a53667e3ff0666 /src/Chunk.cpp | |
parent | libevent: Enable IOCP backend on windows (#4745) (diff) | |
download | cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.tar cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.tar.gz cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.tar.bz2 cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.tar.lz cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.tar.xz cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.tar.zst cuberite-e0a361de2a7e6b5f1f63905f5495137cf8cd7f51.zip |
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r-- | src/Chunk.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 215de2c7c..e5b4d83d7 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -1707,19 +1707,6 @@ bool cChunk::AddClient(cClientHandle * a_Client) } m_LoadedByClient.push_back(a_Client); - - for (cEntityList::iterator itr = m_Entities.begin(); itr != m_Entities.end(); ++itr) - { - /* - // DEBUG: - LOGD("cChunk: Entity #%d (%s) at [%i, %i, %i] spawning for player \"%s\"", - (*itr)->GetUniqueID(), (*itr)->GetClass(), - m_PosX, m_PosY, m_PosZ, - a_Client->GetUsername().c_str() - ); - */ - (*itr)->SpawnOn(*a_Client); - } return true; } |