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. |   // Called every time the scheduler runs while the command is scheduled. | ||||||
|   @Override |   @Override | ||||||
|   public void execute() { |   public void execute() { | ||||||
|  |     if(pince.emperagecoral()>8){ | ||||||
|     pince.aspirecoral(-.5);   |     pince.aspirecoral(-.5);   | ||||||
|  |     } | ||||||
|  |     else{ | ||||||
|  |       pince.aspirecoral(.5); | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   // Called once the command ends or is interrupted. |   // Called once the command ends or is interrupted. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user