diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index 6220419f9..a7bcc9689 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -60,7 +60,9 @@ bool LocalPlayer::updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max) { // Acceptable distance to node center - constexpr f32 allowed_range = (0.5f + 0.1f) * BS; + // This must be > 0.5 units to get the sneak ladder to work + // 0.05 prevents sideways teleporting through 1/16 thick walls + constexpr f32 allowed_range = (0.5f + 0.05f) * BS; static const v3s16 dir9_center[9] = { v3s16( 0, 0, 0), v3s16( 1, 0, 0),