1
0
Fork 0

Merge pull request #3921 from lkolbly/removeAssert

- Removed incorrect assert in SendRespawn
This commit is contained in:
Tiger Wang 2017-08-18 11:36:01 +01:00 committed by GitHub
commit 0e10464ac5
1 changed files with 0 additions and 3 deletions

View File

@ -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