[commands] Revert "WrappedCommand: Call wrapped command initSendable (#6471)" (#7353)

This reverts commit 7bc0380694.

Calling initSendable on the wrapped command is fundamentally flawed as the wrapper is the command being sent.
This commit is contained in:
Ryan Blue
2024-11-06 18:10:37 -05:00
committed by GitHub
parent 5a16b0e108
commit af652817d9
3 changed files with 0 additions and 12 deletions

View File

@@ -4,7 +4,6 @@
package edu.wpi.first.wpilibj2.command;
import edu.wpi.first.util.sendable.SendableBuilder;
import java.util.Set;
/**
@@ -101,9 +100,4 @@ public abstract class WrapperCommand extends Command {
public InterruptionBehavior getInterruptionBehavior() {
return m_command.getInterruptionBehavior();
}
@Override
public void initSendable(SendableBuilder builder) {
m_command.initSendable(builder);
}
}