summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorgushromp <blashyrk92@gmail.com>2014-12-15 18:41:47 +0100
committergushromp <blashyrk92@gmail.com>2014-12-15 18:41:47 +0100
commitb9977a39c35ff3c61bfc15f99b3dd12b5ff245f4 (patch)
treef8d1e66b38a4359d07a896ee556fcf643b4030c3 /src/Entities/Player.cpp
parentUpdated cPlayer::DoMoveToWorld to send target world's weather info to Player (diff)
downloadcuberite-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
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp2
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;
}