Skip to content

Commit

Permalink
Update IndexCommand.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rflood07 authored Jan 31, 2024
1 parent 04328ea commit 7990ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/IndexCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void execute() {
shooter.turnOff();
} else {
intake.intakeOff();
if(shootButtonSupplier.getAsBoolean()) {
if(!shootButtonSupplier.getAsBoolean()) {
m_Indexer.off();
}
shooter.shootThing(1);
Expand Down

0 comments on commit 7990ad9

Please sign in to comment.