This commit is contained in:
parent
aafb2a62b5
commit
d6420659e9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user