Make MinecraftAuthenticationLinker cached

This commit is contained in:
Vankka 2022-05-11 19:29:53 +03:00
parent 964db4bb20
commit 7884e6988f
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -29,12 +29,10 @@ import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
public class MinecraftAuthenticationLinker implements LinkProvider {
private final DiscordSRV discordSRV;
public class MinecraftAuthenticationLinker extends CachedLinkProvider implements LinkProvider {
public MinecraftAuthenticationLinker(DiscordSRV discordSRV) {
this.discordSRV = discordSRV;
super(discordSRV);
}
@Override