diff --git a/src/main/java/frc/robot/commands/NamedCommands/ShootNote.java b/src/main/java/frc/robot/commands/NamedCommands/ShootNote.java index 1e30e68..5ee16b6 100644 --- a/src/main/java/frc/robot/commands/NamedCommands/ShootNote.java +++ b/src/main/java/frc/robot/commands/NamedCommands/ShootNote.java @@ -54,7 +54,7 @@ public void end(boolean interrupted) { timer.stop(); indexer.off(); timer.reset(); - intake.setNoteHeld(false); + RobotState.getInstance().IsNoteHeld = false; } // Returns true when the command should end.