summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-08-11 18:00:21 +0200
committerLane Kolbly <lane@rscheme.org>2017-08-11 18:00:21 +0200
commit9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431 (patch)
tree696d926a72365586ef96a165ce0abe156f2f95e6 /src/ClientHandle.cpp
parentUpdate copyright dates and contributors message (#3907) (diff)
downloadcuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.tar
cuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.tar.gz
cuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.tar.bz2
cuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.tar.lz
cuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.tar.xz
cuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.tar.zst
cuberite-9cc48ac2a3ab4ea9dd8d4fdab30da2c6732e6431.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index b015b745f..54cfa5310 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -2826,9 +2826,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