mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-10-01 02:17:35 +00:00
Update LoginDecoder.java.
This commit is contained in:
@@ -183,6 +183,10 @@ public final class LoginDecoder extends StatefulFrameDecoder<LoginDecoderState>
|
||||
throw new Exception("Username or password too long.");
|
||||
}
|
||||
|
||||
if (username.equals("") || password.equals("")) {
|
||||
throw new Exception("Invalid username or password.");
|
||||
}
|
||||
|
||||
int[] seed = new int[4];
|
||||
seed[0] = (int) (clientSeed >> 32);
|
||||
seed[1] = (int) clientSeed;
|
||||
|
||||
Reference in New Issue
Block a user