diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2017-08-18 12:36:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 12:36:01 +0200 |
commit | 0e10464ac5784abae4523c0fec1c10bb9707d21c (patch) | |
tree | 83125f05617e84df9d6352d284bede4e890dbd8b /src/ClientHandle.cpp | |
parent | Merge pull request #3918 from peterbell10/GetBlockEntity (diff) | |
parent | Removed incorrect assert in cClientHandle::SendRespawn. (diff) | |
download | cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.tar cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.tar.gz cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.tar.bz2 cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.tar.lz cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.tar.xz cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.tar.zst cuberite-0e10464ac5784abae4523c0fec1c10bb9707d21c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 9366facf3..a8279a738 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -2847,9 +2847,6 @@ void cClientHandle::SendResetTitle() void cClientHandle::SendRespawn(eDimension a_Dimension, bool a_ShouldIgnoreDimensionChecks) { - // If a_ShouldIgnoreDimensionChecks is true, we must be traveling to the same dimension - ASSERT((!a_ShouldIgnoreDimensionChecks) || (a_Dimension == m_LastSentDimension)); - if ((!a_ShouldIgnoreDimensionChecks) && (a_Dimension == m_LastSentDimension)) { // The client goes crazy if we send a respawn packet with the dimension of the current world |