mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user