This commit is contained in:
Antoine PerreaultE 2025-01-28 19:10:42 -05:00
parent aafb2a62b5
commit d6420659e9

View File

@ -24,7 +24,12 @@ public class CoralInspire extends Command {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
pince.aspirecoral(-.5);
if(pince.emperagecoral()>8){
pince.aspirecoral(-.5);
}
else{
pince.aspirecoral(.5);
}
}
// Called once the command ends or is interrupted.