mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-26 19:17:40 +01:00
Added the 'all players selector' to AdminResetsResetCommand#tabComplete(...)
This commit is contained in:
parent
dfc1f46730
commit
dd467f27be
@ -1,6 +1,8 @@
|
||||
package world.bentobox.bentobox.api.commands.admin.resets;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
@ -53,4 +55,9 @@ public class AdminResetsResetCommand extends ConfirmableCommand {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<List<String>> tabComplete(User user, String alias, List<String> args) {
|
||||
return Optional.of(Arrays.asList("@a"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user