summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-06-10 08:00:50 +0200
committerMattes D <github@xoft.cz>2015-06-10 08:00:50 +0200
commitd436a71cbc6654a779c6b38f03f610b5bc7a76c9 (patch)
tree379b0060fc31101159ae69af4e5b96472043b673 /src/Chunk.cpp
parentUpdate build download links. (diff)
parentImplemented nether portal scanning code. (diff)
downloadcuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.tar
cuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.tar.gz
cuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.tar.bz2
cuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.tar.lz
cuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.tar.xz
cuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.tar.zst
cuberite-d436a71cbc6654a779c6b38f03f610b5bc7a76c9.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 7af669163..2e83f2b72 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -640,6 +640,7 @@ void cChunk::Tick(std::chrono::milliseconds a_Dt)
else if ((*itr)->IsWorldTravellingFrom(m_World))
{
// Remove all entities that are travelling to another world
+ LOGD("Removing entity from [%d, %d] that's travelling between worlds.", m_PosX, m_PosZ);
MarkDirty();
(*itr)->SetWorldTravellingFrom(nullptr);
itr = m_Entities.erase(itr);
@@ -695,7 +696,6 @@ void cChunk::MoveEntityToNewChunk(cEntity * a_Entity)
}
ASSERT(Neighbor != this); // Moving into the same chunk? wtf?
-
Neighbor->AddEntity(a_Entity);
class cMover :