package org.usfirst.frc4909.STEAMWORKS.commands.shooter;

import org.usfirst.frc4909.STEAMWORKS.Robot;
import org.usfirst.frc4909.STEAMWORKS.utils.Command;

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

public class FeederOn extends Command {
    public FeederOn() {
    	requires(Robot.feeder);
    }

    public void start() {
    	super.start();
    	
    	if(!SmartDashboard.getBoolean("Ready To Shoot", true) && !SmartDashboard.getBoolean("Shooter Override", true))
    		end();
    }

    protected void execute() {
    	Robot.feeder.startFeed();
    }
}
@@ -371,17 +371,16 @@
     %09if(
-!
 SmartDas
@@ -419,79 +419,46 @@
 t%22, 
-true) && !SmartDashboard.getBoolean(%22Shooter Override%22, true))%0A    %09%09en
+false))%0A        %09Robot.feeder.startFee
 d();
@@ -489,14 +489,10 @@
 id e
-xecute
+nd
 () %7B
@@ -504,34 +504,33 @@
 %09Robot.feeder.st
-art
+op
 Feed();%0A    %7D%0A%7D

Fix Feeder