diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-05-03 09:05:48 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-05-03 09:05:48 +0200 |
commit | adac9cb68ec0ff2cc2c4468928fd749a22f075d5 (patch) | |
tree | 726a81c02f03e9e3133ff1aebaefbd5d3ef35190 /src/Entities/Player.cpp | |
parent | Fix Crash on stopping the server (#3176) (diff) | |
download | cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.tar cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.tar.gz cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.tar.bz2 cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.tar.lz cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.tar.xz cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.tar.zst cuberite-adac9cb68ec0ff2cc2c4468928fd749a22f075d5.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 735446729..d131699d3 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -364,7 +364,7 @@ void cPlayer::TickFreezeCode() } else { - if (!GetClientHandle()->IsPlayerChunkSent()) + if (!GetClientHandle()->IsPlayerChunkSent() || (!GetParentChunk()->IsValid())) { FreezeInternal(GetPosition(), false); } |