Added the 'all players selector' to AdminResetsResetCommand#tabComplete(...)

This commit is contained in:
Florian CUNY 2019-02-17 15:10:08 +01:00
parent dfc1f46730
commit dd467f27be

View File

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