diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-18 21:12:27 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-18 21:12:27 +0200 |
commit | 719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2 (patch) | |
tree | c95660d4c5e94fa7b63cf74c2f6b948a41ea0a29 /src/Protocol/Protocol17x.cpp | |
parent | Merge branch 'master' into portals (diff) | |
download | cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.tar cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.tar.gz cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.tar.bz2 cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.tar.lz cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.tar.xz cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.tar.zst cuberite-719551c31f5ed0d3cbad9797dd81a6bf1ae4e5a2.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index a421e4da6..0ff0d0357 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -988,7 +988,7 @@ void cProtocol172::SendRemoveEntityEffect(const cEntity & a_Entity, int a_Effect void cProtocol172::SendRespawn(eDimension a_Dimension, bool a_ShouldIgnoreDimensionChecks) { - if ((m_LastSentDimension == a_World.GetDimension()) && !a_ShouldIgnoreDimensionChecks) + if ((m_LastSentDimension == a_Dimension) && !a_ShouldIgnoreDimensionChecks) { // Must not send a respawn for the world with the same dimension, the client goes cuckoo if we do (unless we are respawning from death) return; |