mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[commands] WrappedCommand: Call wrapped command initSendable (#6471)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
package edu.wpi.first.wpilibj2.command;
|
||||
|
||||
import edu.wpi.first.util.sendable.SendableBuilder;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
@@ -100,4 +101,9 @@ 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