This commit is contained in:
jackh 2025-01-10 20:14:53 -07:00
parent 1e1ed8f735
commit 2cc9f2b4ae
1 changed files with 2 additions and 1 deletions

View File

@ -324,6 +324,7 @@ public class Scaffold extends Module {
} }
else { else {
lastBlockYaw = ((IAccessorEntityPlayerSP) mc.thePlayer).getLastReportedYaw(); lastBlockYaw = ((IAccessorEntityPlayerSP) mc.thePlayer).getLastReportedYaw();
mainOffset = 15;
} }
if (!Utils.isMoving() || Utils.getHorizontalSpeed(mc.thePlayer) == 0.0D) { if (!Utils.isMoving() || Utils.getHorizontalSpeed(mc.thePlayer) == 0.0D) {
@ -331,7 +332,7 @@ public class Scaffold extends Module {
} }
float lastYaw = lastBlockYaw; float lastYaw = lastBlockYaw;
float newYaw = getMotionYaw() - (!Utils.scaffoldDiagonal(false) ? 124.625F : 142.625F) * Math.signum( float newYaw = getMotionYaw() - (!Utils.scaffoldDiagonal(false) ? 126.625F : 142.625F) * Math.signum(
MathHelper.wrapAngleTo180_float(getMotionYaw() - yaw) MathHelper.wrapAngleTo180_float(getMotionYaw() - yaw)
); );
yaw = applyGcd( yaw = applyGcd(