summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2018-07-23 18:26:48 +0200
committerGitHub <noreply@github.com>2018-07-23 18:26:48 +0200
commite27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c (patch)
tree7fd9b748a721523968714d87f290d9123accacf4 /src/Entities/Player.cpp
parentRewrite explosion knock back (#4251) (diff)
downloadcuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.tar
cuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.tar.gz
cuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.tar.bz2
cuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.tar.lz
cuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.tar.xz
cuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.tar.zst
cuberite-e27290f7d2d1a9fb0c8e77b73bb6634a43c45d4c.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 181a54870..0f18ebe66 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -1650,7 +1650,6 @@ void cPlayer::TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ)
{
ResetPosition({a_PosX, a_PosY, a_PosZ});
FreezeInternal(GetPosition(), false);
- m_LastGroundHeight = a_PosY;
m_bIsTeleporting = true;
m_World->BroadcastTeleportEntity(*this, GetClientHandle());