Bump SodionAuth version and fix errors.

This commit is contained in:
InkerBot
2021-04-06 21:27:25 +08:00
parent ea894b3a7b
commit 8837a1b70e
4 changed files with 4 additions and 8 deletions

View File

@ -272,7 +272,7 @@
<dependency>
<groupId>com.github.Mohist-Community.SodionAuth</groupId>
<artifactId>SodionAuth-Bukkit</artifactId>
<version>3a71c7f936</version>
<version>2bdfdc854b</version>
<exclusions>
<exclusion>
<groupId>com.github.Mohist-Community.SodionAuth</groupId>

View File

@ -70,9 +70,6 @@ public class SodionAuthHook implements AuthPlugin<Player> {
plugin.getLog().warn("Currently SodionAuth is not accepting forceRegister, " +
"It may be caused by unsupported AuthBackend");
return false;
} catch (InterruptedException | ExecutionException e) {
e.printStackTrace();
return false;
}
}

View File

@ -150,7 +150,7 @@
<dependency>
<groupId>com.github.Mohist-Community.SodionAuth</groupId>
<artifactId>SodionAuth-Bungee</artifactId>
<version>3a71c7f936</version>
<version>2bdfdc854b</version>
<exclusions>
<exclusion>
<groupId>com.github.Mohist-Community.SodionAuth</groupId>

View File

@ -70,11 +70,10 @@ public class SodionAuthHook implements AuthPlugin<ProxiedPlayer> {
plugin.getLog().warn("Currently SodionAuth is not accepting forceRegister, " +
"It may be caused by unsupported AuthBackend");
return false;
} catch (InterruptedException | ExecutionException e) {
e.printStackTrace();
return false;
}
}
@Override
public boolean isRegistered(String playerName) {
return SodionAuthApi.isRegistered(playerName);
}