diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index f5663e8cf..c86716edb 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -545,12 +545,6 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, // Prevent sliding on the ground when jump speed is 0 m_can_jump = m_can_jump && jumpspeed != 0.0f; - // Prevent jump if in node/object - if (m_can_jump && could_sneak) { - if (collisionCheckIntersection(env, m_client, m_collisionbox, initial_position)) - m_can_jump = false; - } - // Autojump handleAutojump(dtime, env, result, initial_position, initial_speed, pos_max_d); }