diff options
author | JK2K <ikuba03@gmail.com> | 2021-10-02 22:28:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 22:28:24 +0200 |
commit | be3111d133cf01fe266d1e267acdb9f22f98f513 (patch) | |
tree | b79806cb1443d6767e837f26ec9a815ec852dab3 /src/Entities/Entity.cpp | |
parent | Authentication flow: move construction, slim down classes (#5312) (diff) | |
download | cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.tar cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.tar.gz cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.tar.bz2 cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.tar.lz cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.tar.xz cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.tar.zst cuberite-be3111d133cf01fe266d1e267acdb9f22f98f513.zip |
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r-- | src/Entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 74b184c54..e275d03da 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -1500,7 +1500,7 @@ bool cEntity::DetectPortal() if (IsPlayer()) { cPlayer * Player = static_cast<cPlayer *>(this); - if (Player->GetBedWorld() == TargetWorld) + if (Player->GetRespawnWorld() == TargetWorld) { return MoveToWorld(*TargetWorld, Player->GetLastBedPos()); } |