summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-05-03 09:05:48 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-05-03 09:05:48 +0200
commitadac9cb68ec0ff2cc2c4468928fd749a22f075d5 (patch)
tree726a81c02f03e9e3133ff1aebaefbd5d3ef35190 /src/Entities/Player.cpp
parentFix Crash on stopping the server (#3176) (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/Player.cpp2
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);
}