package com.edinarobotics.zeke.commands;

import com.edinarobotics.zeke.Components;
import com.edinarobotics.zeke.subsystems.Shooter;
import edu.wpi.first.wpilibj.command.Command;

public class LowerShooterCommand extends Command {
    private Shooter shooter;

    public LowerShooterCommand() {
        shooter = Components.getInstance().shooter;
        requires(shooter);
    }

    protected void initialize() {
        
    }

    protected void execute() {
        if (!shooter.getShooterLimitSwitch()) {
            shooter.setWinchState(Shooter.WinchState.LOWERING);
	}
    }

    protected boolean isFinished() {
        if(shooter.getShooterLimitSwitch()) {
            return true;
        }
        return false;
    }

    protected void end() {
        shooter.setWinchState(Shooter.WinchState.STOPPED);
    }

    protected void interrupted() {
        end();
    }
}

@@ -225,16 +225,17 @@
 mmand %7B%0A
+%0A
     priv
@@ -415,17 +415,9 @@
 ) %7B%0A
-        
 %0A
+
     
@@ -566,9 +566,16 @@
 G);%0A
-%09
+        
 %7D%0A  
@@ -628,11 +628,15 @@
     
-if(
+return 
 shoo
@@ -666,67 +666,8 @@
 ch()
-) %7B%0A            return true;%0A        %7D%0A        return false
 ;%0A  

Modify isFinished() in LowerShooterCommand to save a branch.