diff options
author | gushromp <blashyrk92@gmail.com> | 2014-12-15 18:41:47 +0100 |
---|---|---|
committer | gushromp <blashyrk92@gmail.com> | 2014-12-15 18:41:47 +0100 |
commit | b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4 (patch) | |
tree | f8d1e66b38a4359d07a896ee556fcf643b4030c3 | |
parent | Updated cPlayer::DoMoveToWorld to send target world's weather info to Player (diff) | |
download | cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.tar cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.tar.gz cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.tar.bz2 cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.tar.lz cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.tar.xz cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.tar.zst cuberite-b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4.zip |
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index abeeef6a5..15920d6cf 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1606,7 +1606,9 @@ bool cPlayer::DoMoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn) // Send current weather of target world to player if (a_World->GetDimension() == dimOverworld) + { m_ClientHandle->SendWeather(a_World->GetWeather()); + } return true; } |