diff --git a/src/main/java/org/team1540/robot2024/commands/TrampCommand.java b/src/main/java/org/team1540/robot2024/commands/TrampCommand.java index ac95926e..c4856d45 100644 --- a/src/main/java/org/team1540/robot2024/commands/TrampCommand.java +++ b/src/main/java/org/team1540/robot2024/commands/TrampCommand.java @@ -14,7 +14,10 @@ public TrampCommand(Tramp tramp) { } @Override - public void initialize() { + public void initialize() {} + + @Override + public void execute() { if (tramp.isBeamBreakBlocked()) { tramp.stopTramp(); } else { @@ -22,11 +25,6 @@ public void initialize() { } } - @Override - public void execute() { - tramp.scoreTrampCommand(); - } - @Override public void end(boolean interrupted) { tramp.stopTramp();