This commit is contained in:
samuel desharnais 2022-11-21 18:27:35 -05:00
parent 38cfc70960
commit 983369bea4

View File

@ -20,7 +20,7 @@ public class Acctivershaker extends CommandBase {
// Called when the command is initially scheduled.
@Override
public void initialize() {
pistonshaker.sortirpiston();
}
// Called every time the scheduler runs while the command is scheduled.
@ -29,7 +29,9 @@ public class Acctivershaker extends CommandBase {
// Called once the command ends or is interrupted.
@Override
public void end(boolean interrupted) {}
public void end(boolean interrupted) {
pistonshaker.rentrerpiston();
}
// Returns true when the command should end.
@Override