[commands] Rename Command.repeat to repeatedly (#4379)

This commit is contained in:
OmegaMetor
2022-08-29 17:20:17 -05:00
committed by GitHub
parent 9e24c6eac0
commit f2a8d38d2a
8 changed files with 10 additions and 10 deletions

View File

@@ -288,7 +288,7 @@ public interface Command {
*
* @return the decorated command
*/
default RepeatCommand repeat() {
default RepeatCommand repeatedly() {
return new RepeatCommand(this);
}

View File

@@ -64,7 +64,7 @@ public class RepeatCommand extends CommandBase {
}
@Override
public RepeatCommand repeat() {
public RepeatCommand repeatedly() {
return this;
}
}