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

This commit is contained in:
DeltaDizzy
2024-04-21 22:30:43 -05:00
committed by GitHub
parent 98d2f45fa9
commit 7bc0380694
3 changed files with 12 additions and 0 deletions

View File

@@ -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);
}
}