diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java index c333eed7..84409262 100644 --- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java +++ b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java @@ -164,9 +164,7 @@ public class VerifyResponseTask implements Runnable { receiveFakeStartPacket(realUsername); } else { //user tried to fake an authentication - disconnect("invalid-session", - String.format("GameProfile %s (%s) tried to log in with an invalid session. ServerId: %s", - session.getRequestUsername(), socketAddress, serverId)); + disconnect("invalid-session", "GameProfile {} ({}) tried to log in with an invalid session. ServerId: {}", session.getRequestUsername(), socketAddress, serverId); } } catch (IOException ioEx) { disconnect("error-kick", "Failed to connect to session server", ioEx);