summaryrefslogtreecommitdiffstats
path: root/source/Player.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-08-09 21:36:45 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-08-09 21:36:45 +0200
commit33155a51e2cec92edbf018f876d1b20a146b9727 (patch)
tree6868a835feaed241925a47d16a33ab46cfed374e /source/Player.cpp
parentAdded OnExploding() and OnExploded() hooks. (diff)
parentFixed stupid syntax error (thanks build system). (diff)
downloadcuberite-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 'source/Player.cpp')
-rw-r--r--source/Player.cpp1
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());