From c3e6a64cece5d99eacfbaf627e17c48d82a1d242 Mon Sep 17 00:00:00 2001 From: rfresh2 <89827146+rfresh2@users.noreply.github.com> Date: Wed, 1 Feb 2023 23:38:35 -0800 Subject: [PATCH] SafeWalk + Step Compatibility Step modifies player.stepHeight which messes up safewalk calculations --- .../com/lambda/client/module/modules/movement/SafeWalk.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/lambda/client/module/modules/movement/SafeWalk.kt b/src/main/kotlin/com/lambda/client/module/modules/movement/SafeWalk.kt index 38d68e8da..95fe68cf0 100644 --- a/src/main/kotlin/com/lambda/client/module/modules/movement/SafeWalk.kt +++ b/src/main/kotlin/com/lambda/client/module/modules/movement/SafeWalk.kt @@ -32,7 +32,7 @@ object SafeWalk : Module( var x = event.x var z = event.z - var boundingBox = player.entityBoundingBox.offset(0.0, (-player.stepHeight).toDouble(), 0.0) + var boundingBox = player.entityBoundingBox.offset(0.0, -.6, 0.0) while (x != 0.0 && world.getCollisionBoxes(player, boundingBox.offset(x, 0.0, 0.0)).isEmpty()) { x = updateCoordinate(x)