Skip to content
This repository has been archived by the owner on Feb 2, 2025. It is now read-only.

Commit

Permalink
Remove useless return type
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Feb 2, 2025
1 parent 77c17b7 commit b30680b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ca/exp/soundboard/soundboard/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,11 @@ public static Robot getRobotInstance() {
public static boolean checkAndUseAutoPPThold() {
if (!autoPTThold || pttKeys.size() == 0) {
return false;
return;
}

if (SoundboardFrame.soundboard.entriesContainPTTKeys(pttKeys)) {
return false;
return;
}

ArrayList<Integer> pressed = SoundboardFrame.macroListener.getPressedNativeKeys();
Expand All @@ -331,7 +332,6 @@ public static boolean checkAndUseAutoPPThold() {
}
}

return true;
}

public static boolean checkAndReleaseHeldPPTKeys() {
Expand Down

0 comments on commit b30680b

Please sign in to comment.