Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TIMER-err committed Feb 24, 2024
1 parent 697804b commit 2c4d8d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cn/yapeteam/yolbi/module/impl/combat/AutoClicker.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public class AutoClicker extends Module {
private final NumberValue<Integer> max = new NumberValue<>("max", 10, 0, 100, 1);

public AutoClicker() {
min.setCallback((oldV, newV) -> newV > max.getValue() ? oldV : newV);
max.setCallback((oldV, newV) -> newV < min.getValue() ? oldV : newV);
addValues(min, max);
}

Expand Down
2 changes: 2 additions & 0 deletions src/cn/yapeteam/yolbi/module/impl/combat/KillAura.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
@ModuleInfo(name = "KillAura", category = ModuleCategory.COMBAT, key = Keyboard.KEY_R)
public class KillAura extends Module {
public KillAura() {
min.setCallback((oldV, newV) -> newV > max.getValue() ? oldV : newV);
max.setCallback((oldV, newV) -> newV < min.getValue() ? oldV : newV);
addValues(range, min, max);
}

Expand Down

0 comments on commit 2c4d8d2

Please sign in to comment.