From 0352f6a8249451664648758375ee3122bb7cdf98 Mon Sep 17 00:00:00 2001 From: Dg636 Date: Tue, 16 Jan 2024 17:53:09 -0500 Subject: [PATCH] Update Scaffold.kt --- .../liquidbounce/features/module/modules/movement/Scaffold.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Scaffold.kt b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Scaffold.kt index 25617e7571..8d36e206f5 100644 --- a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Scaffold.kt +++ b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Scaffold.kt @@ -510,7 +510,7 @@ class Scaffold : Module() { val eventState = event.eventState towerStatus = false - if (towerModeValue.equals("Watchdog" && event.eventState == EventState.PRE) { + if (towerModeValue.equals("Watchdog") && event.eventState == EventState.PRE) { if (wdTick > 0) { wdTick -- } @@ -1312,7 +1312,7 @@ class Scaffold : Module() { Rotation(calcyaw.toFloat(), calcpitch) } "derp" -> { - if (isReplaceable(BlockPos(mc.thePlayer.posX + mc.thePlayer.motionX * 2.0, mc.thePlayer.posY - 1.0, mc.thePlayer.posZ + mc.thePlayer.motionZ * 2.0))) { + if (mc.theWorld.getBlockState(BlockPos(mc.thePlayer.posX + mc.thePlayer.motionX * 2.0, mc.thePlayer.posY - 1.0, mc.thePlayer.posZ + mc.thePlayer.motionZ * 2.0)).block == Blocks.air) { Rotation(mc.thePlayer.rotationYaw + 45f, placeRotation.rotation.pitch) } else { Rotation(placeRotation.rotation.yaw, placeRotation.rotation.pitch)