summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-08-09 17:18:24 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-08-09 17:18:24 +0200
commiteaec6a4aabf573389ce0ef6775f52fe2f222660f (patch)
tree38f1830c626b200caaae1a22e8cf09c23cf1c9f5
parentFixed a copypasta error in hook function names. (diff)
downloadcuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.tar
cuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.tar.gz
cuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.tar.bz2
cuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.tar.lz
cuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.tar.xz
cuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.tar.zst
cuberite-eaec6a4aabf573389ce0ef6775f52fe2f222660f.zip
Diffstat (limited to '')
-rw-r--r--source/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index fb752ed87..584a814b2 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -765,6 +765,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());