diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-21 23:07:38 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-21 23:07:38 +0200 |
commit | 6e681269d9dfb33b5b73f4f01a61def247b3aee7 (patch) | |
tree | d9409a8b0b00c439dcd5d2f7d4c1f2cf66592c18 /src/Entities/Player.cpp | |
parent | More suggestions (diff) | |
download | cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.tar cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.tar.gz cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.tar.bz2 cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.tar.lz cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.tar.xz cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.tar.zst cuberite-6e681269d9dfb33b5b73f4f01a61def247b3aee7.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index e975abdf5..b72f14f57 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1600,6 +1600,7 @@ bool cPlayer::MoveToWorld(const AString & a_WorldName, cWorld * a_World, bool a_ } // Remove player from the old world + SetIsTravellingThroughPortal(true); // cChunk handles entity removal m_World->RemovePlayer(this); // Queue adding player to the new world, including all the necessary adjustments to the object |