Skip to content

Commit

Permalink
WaxAura - Now properly renders signs despite player movement when sta…
Browse files Browse the repository at this point in the history
…nding-still mode is active.
  • Loading branch information
0xTas committed Sep 8, 2024
1 parent 3a41859 commit bb9347a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/main/java/dev/stardust/Stardust.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import meteordevelopment.meteorclient.systems.modules.Modules;
import meteordevelopment.meteorclient.systems.modules.Category;


/**
* @author Tas [0xTas] <[email protected]>
**/
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/dev/stardust/modules/WaxAura.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import meteordevelopment.meteorclient.utils.render.color.SettingColor;
import meteordevelopment.meteorclient.systems.modules.render.blockesp.ESPBlockData;


/**
* @author Tas [0xTas] <[email protected]>
**/
Expand Down Expand Up @@ -273,13 +272,12 @@ public void onDeactivate() {
private void onTick(TickEvent.Pre event) {
if (mc.player == null || mc.interactionManager == null) return;

getSignsToESP();
if (standingStill.get()) {
Vec3d vel = mc.player.getVelocity();
if (vel.length() >= 0.08d) return;
}

if (timer % 2 == 0) getSignsToWax();
else getSignsToESP();

++timer;
ItemStack active = mc.player.getActiveItem();
Expand Down Expand Up @@ -395,7 +393,7 @@ private void onRender(Render3DEvent event) {
esp.tracerColor
);
} catch (Exception err) {
err.printStackTrace();
Stardust.LOG.error(err.toString());
}
}
}
Expand Down

0 comments on commit bb9347a

Please sign in to comment.