Skip to content

Commit

Permalink
fix: fix parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
WeilSimon committed Aug 19, 2024
1 parent ee8c4ec commit 01c9c6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ public Command withInterrupt(Drivetrain drivetrain, boolean shouldRealign, Tripl
Commands.idle(),
(BooleanSupplier) term.getSecond()
)

)
).andThen((Command)term.getThird()).onlyIf((BooleanSupplier) term.getSecond());
).andThen(((Command)term.getThird()).onlyIf((BooleanSupplier) term.getSecond()));
}
return cmd;
}
Expand Down

0 comments on commit 01c9c6e

Please sign in to comment.