diff --git a/src/main/java/frc/robot/commands/ManualShoot.java b/src/main/java/frc/robot/commands/ManualShoot.java index fc083a8..d844b78 100644 --- a/src/main/java/frc/robot/commands/ManualShoot.java +++ b/src/main/java/frc/robot/commands/ManualShoot.java @@ -45,7 +45,7 @@ public void execute() { @Override public void end(boolean interrupted) { indexer.off(); - intake.setNoteHeld(false); + RobotState.getInstance().IsNoteHeld = false; } // Returns true when the command should end.