diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-08-27 08:37:54 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-08-29 10:16:06 +0200 |
commit | c088f7ff0a336703fb19038eef36f736a4e388f7 (patch) | |
tree | f1d9104b186d02f5da8f31ed8ce124bfbff3f6b2 /src/Entities/Player.cpp | |
parent | Fixed SendUnloadChunk bug (#3353) (diff) | |
download | cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.gz cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.bz2 cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.lz cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.xz cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.zst cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 9 |
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) |