diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-04-10 22:08:19 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-04-18 20:51:30 +0200 |
commit | 50893667db7d158918a2fd2dd30f68591b4d46ac (patch) | |
tree | fa182e3e4f4171c8dc766eada816d072cadc62a4 /src/Entities/Player.cpp | |
parent | Only store IDs across ticks (diff) | |
download | cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.tar cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.tar.gz cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.tar.bz2 cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.tar.lz cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.tar.xz cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.tar.zst cuberite-50893667db7d158918a2fd2dd30f68591b4d46ac.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 40486d39e..55139f65e 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1222,7 +1222,7 @@ void cPlayer::Respawn(void) if (GetWorld() != m_SpawnWorld) { - MoveToWorld(m_SpawnWorld, GetLastBedPos(), false, false); + MoveToWorld(*m_SpawnWorld, GetLastBedPos(), false, false); } else { |