* Hide the in-wall screen effect if fly hacks are on.

This commit is contained in:
iProgramInCpp
2023-08-07 11:38:36 +03:00
parent 8a8422f70b
commit 0c8b22d36b

View File

@@ -316,7 +316,7 @@ void ItemInHandRenderer::renderScreenEffect(float f)
renderFire(f);
}
if (m_pMinecraft->m_pLocalPlayer->isInWall())
if (m_pMinecraft->m_pLocalPlayer->isInWall() && !m_pMinecraft->m_options.m_bFlyCheat)
{
int fx = Mth::floor(m_pMinecraft->m_pLocalPlayer->m_pos.x);
int fy = Mth::floor(m_pMinecraft->m_pLocalPlayer->m_pos.y);