Skip to content

Commit

Permalink
Disable any projectile aimbot logic for now (Fixes fr1kin#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
fr1kin committed Feb 6, 2021
1 parent cffc9f5 commit 6431a08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/dev/fiki/forgehax/main/mods/combat/Aimbot.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ enum Selector {
private final BooleanSetting projectileAimbot = newBooleanSetting()
.name("proj-aimbot")
.description("Projectile aimbot")
.defaultTo(true)
.defaultTo(false)
.build();

private final BooleanSetting projectileAutoAttack = newBooleanSetting()
Expand Down Expand Up @@ -172,7 +172,8 @@ private boolean isHoldingProjectileItem() {
}

private boolean isProjectileAimbotActivated() {
return projectileAimbot.getValue() && isHoldingProjectileItem();
// return projectileAimbot.getValue() && isHoldingProjectileItem();
return false;
}

private boolean isVisible(Entity target) {
Expand Down

0 comments on commit 6431a08

Please sign in to comment.