Skip to content

Commit

Permalink
Update Scaffold.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
C00LC0D35 authored Jan 16, 2024
1 parent 38f426f commit 0352f6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 --
}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0352f6a

Please sign in to comment.