We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1675ec commit 0b38d7eCopy full SHA for 0b38d7e
1 file changed
bukkit/src/main/java/com/github/games647/fastlogin/bukkit/hook/PasskyHook.java
@@ -41,9 +41,9 @@ public PasskyHook(FastLoginBukkit plugin) {
41
@Override
42
public boolean forceLogin(Player player) {
43
LoginResult result = PasskyAPI.forceLogin(new Identifier(player), true);
44
-
45
- if (!result.success && result.status == LoginStatus.ALREADY_LOGGED_IN) {
46
- plugin.getLog().debug("Player {} already logged in via Passky", player.getName());
+
+ if (!result.success){
+ plugin.getLog().debug("Failed to force login {} via Passky: {}", player.getName(), result.status);
47
}
48
49
return result.success;
0 commit comments