diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-08-09 21:36:45 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-08-09 21:36:45 +0200 |
commit | 33155a51e2cec92edbf018f876d1b20a146b9727 (patch) | |
tree | 6868a835feaed241925a47d16a33ab46cfed374e | |
parent | Added OnExploding() and OnExploded() hooks. (diff) | |
parent | Fixed stupid syntax error (thanks build system). (diff) | |
download | cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.tar cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.tar.gz cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.tar.bz2 cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.tar.lz cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.tar.xz cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.tar.zst cuberite-33155a51e2cec92edbf018f876d1b20a146b9727.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Player.cpp b/source/Player.cpp index 808976a6c..b2643f2c8 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -777,6 +777,7 @@ void cPlayer::SendMessage(const AString & a_Message) void cPlayer::TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ) { + m_LastGroundHeight = (float)a_PosY; SetPosition( a_PosX, a_PosY, a_PosZ ); m_World->BroadcastTeleportEntity(*this, GetClientHandle()); |