This commit is contained in:
		| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user