summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-29 13:32:34 +0200
committerGitHub <noreply@github.com>2016-08-29 13:32:34 +0200
commitc6c2c5afdf883e2a330b02425e59e5ac5ff25ae3 (patch)
treef1d9104b186d02f5da8f31ed8ce124bfbff3f6b2 /src/Entities/Player.cpp
parentFixed SendUnloadChunk bug (#3353) (diff)
parentProper respawn packets on dimension travel (diff)
downloadcuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.tar
cuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.tar.gz
cuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.tar.bz2
cuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.tar.lz
cuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.tar.xz
cuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.tar.zst
cuberite-c6c2c5afdf883e2a330b02425e59e5ac5ff25ae3.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 50bec3608..f28258969 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -893,6 +893,15 @@ void cPlayer::SetBedPos(const Vector3i & a_Pos, cWorld * a_World)
+cWorld * cPlayer::GetBedWorld()
+{
+ return m_SpawnWorld;
+}
+
+
+
+
+
void cPlayer::SetFlying(bool a_IsFlying)
{
if (a_IsFlying == m_IsFlying)