Rename loginattempt

This commit is contained in:
P0nk
2024-09-29 14:24:56 +02:00
parent 902f1a154e
commit fa666c98e6
2 changed files with 6 additions and 52 deletions

View File

@@ -82,7 +82,7 @@ public final class LoginPasswordHandler implements PacketHandler {
byte[] hwidNibbles = p.readBytes(4);
c.setHwid(new Hwid(HexTool.toCompactHexString(hwidNibbles)));
if (!c.tryLogin()) {
if (!c.attemptLogin()) {
return;
}
Optional<Account> foundAccount = accountService.getAccount(login);