diff --git a/.gradle/8.8/executionHistory/executionHistory.bin b/.gradle/8.8/executionHistory/executionHistory.bin
index abcdb4b..77b3874 100644
Binary files a/.gradle/8.8/executionHistory/executionHistory.bin and b/.gradle/8.8/executionHistory/executionHistory.bin differ
diff --git a/.gradle/8.8/executionHistory/executionHistory.lock b/.gradle/8.8/executionHistory/executionHistory.lock
index 5eedf0e..676a02a 100644
Binary files a/.gradle/8.8/executionHistory/executionHistory.lock and b/.gradle/8.8/executionHistory/executionHistory.lock differ
diff --git a/.gradle/8.8/fileHashes/fileHashes.bin b/.gradle/8.8/fileHashes/fileHashes.bin
index 0e8752a..4f69037 100644
Binary files a/.gradle/8.8/fileHashes/fileHashes.bin and b/.gradle/8.8/fileHashes/fileHashes.bin differ
diff --git a/.gradle/8.8/fileHashes/fileHashes.lock b/.gradle/8.8/fileHashes/fileHashes.lock
index 1bf23de..f4956c7 100644
Binary files a/.gradle/8.8/fileHashes/fileHashes.lock and b/.gradle/8.8/fileHashes/fileHashes.lock differ
diff --git a/.gradle/8.8/fileHashes/resourceHashesCache.bin b/.gradle/8.8/fileHashes/resourceHashesCache.bin
index ea36f15..235a729 100644
Binary files a/.gradle/8.8/fileHashes/resourceHashesCache.bin and b/.gradle/8.8/fileHashes/resourceHashesCache.bin differ
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index 659a62c..5d39f9b 100644
Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 052f997..2c9fca6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,22 +5,18 @@
-
-
-
-
@@ -179,14 +175,6 @@
1736536952705
-
-
- 1737186865584
-
-
-
- 1737186865584
-
1737272894776
@@ -571,7 +559,15 @@
1745988465161
-
+
+
+ 1746079552603
+
+
+
+ 1746079552603
+
+
diff --git a/build/classes/java/main/keystrokesmod/module/impl/player/BedAura.class b/build/classes/java/main/keystrokesmod/module/impl/player/BedAura.class
index 139538a..13abdc2 100644
Binary files a/build/classes/java/main/keystrokesmod/module/impl/player/BedAura.class and b/build/classes/java/main/keystrokesmod/module/impl/player/BedAura.class differ
diff --git a/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar b/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar
index 74bfb1f..a014ff6 100644
Binary files a/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar and b/build/intermediates/raven-bS-13-non-obfuscated-with-deps.jar differ
diff --git a/build/intermediates/raven-bS-13-without-deps.jar b/build/intermediates/raven-bS-13-without-deps.jar
index b672a70..1c0473d 100644
Binary files a/build/intermediates/raven-bS-13-without-deps.jar and b/build/intermediates/raven-bS-13-without-deps.jar differ
diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin
index 99fc579..1d34eb5 100644
Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ
diff --git a/src/main/java/keystrokesmod/module/impl/player/BedAura.java b/src/main/java/keystrokesmod/module/impl/player/BedAura.java
index 04f5078..3d279e1 100644
--- a/src/main/java/keystrokesmod/module/impl/player/BedAura.java
+++ b/src/main/java/keystrokesmod/module/impl/player/BedAura.java
@@ -64,7 +64,7 @@ public class BedAura extends Module {
private BlockPos previousBlockBroken;
private BlockPos rotateLastBlock;
private boolean spoofGround, firstStop;
- private boolean isBreaking, startPacket, stopPacket, ignoreSlow;
+ private boolean isBreaking, startPacket, stopPacket, ignoreSlow, delayStop;
public BedAura() {
super("BedAura", category.player, 0);
@@ -124,7 +124,11 @@ public class BedAura extends Module {
@SubscribeEvent(priority = EventPriority.HIGHEST)
public void onClientRotation(ClientRotationEvent e) {
- stopAutoblock = false;
+ if (delayStop) {
+ delayStop = false;
+ } else {
+ stopAutoblock = false;
+ }
breakTick = false;
if (!Utils.nullCheck()) {
return;
@@ -175,6 +179,12 @@ public class BedAura extends Module {
@SubscribeEvent
public void onPreMotion(PreMotionEvent e) {
+ if (stopAutoblock) {
+ if (Raven.debug) {
+ Utils.sendModuleMessage(this, "&7stopping autoblock (&3" + mc.thePlayer.ticksExisted + "&7).");
+ }
+ }
+
if (startPacket) {
mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.START_DESTROY_BLOCK, packetPos, EnumFacing.UP));
swing();
@@ -362,6 +372,7 @@ public class BedAura extends Module {
currentBlock = null;
bedPos = null;
ignoreSlow = false;
+ delayStop = false;
}
public void setPacketSlot(int slot) {
@@ -376,7 +387,6 @@ public class BedAura extends Module {
setRots(e);
packetPos = blockPos;
startPacket = true;
- stopAutoblock = true;
isBreaking = true;
breakTick = true;
if (mc.thePlayer.motionY > -0.5) {
@@ -389,7 +399,6 @@ public class BedAura extends Module {
setRots(e);
packetPos = blockPos;
stopPacket = true;
- stopAutoblock = true;
isBreaking = false;
breakTick = true;
if (ignoreSlow) {
@@ -430,12 +439,9 @@ public class BedAura extends Module {
}
currentBlock = blockPos;
Block block = BlockUtils.getBlock(blockPos);
- if (!stopAutoblock && breakProgress <= 0 && mode.getInput() == 2 && ModuleManager.killAura.autoBlockOverride() && !firstStop) {
+ if ((breakProgress <= 0 || breakProgress >= 1) && mode.getInput() == 2 && !firstStop) {
firstStop = true;
- stopAutoblock = true;
- if (Raven.debug) {
- Utils.sendModuleMessage(this, "&7stopping autoblock on &3start &7(&b" + mc.thePlayer.ticksExisted + "&7)");
- }
+ stopAutoblock = delayStop = true;
return;
}
if (mode.getInput() == 2 || mode.getInput() == 0) {