login crash bug

This commit is contained in:
FatBoy committed 2024-03-09 21:42:56 -06:00
1 parent 28fa81962d
commit c6c4a128a2
3 files changed
+9 -3

No files matched your search

@@ -373,6 +373,11 @@ public class LoginServerMsgHandler implements NetMsgHandler {
clientConnection);
return;
}
if (DbManager.PlayerCharacterQueries.IS_CHARACTER_NAME_UNIQUE(firstName) == false) {
LoginServerMsgHandler.sendInvalidNameMsg(firstName, lastName, MBServerStatics.INVALIDNAME_FIRSTNAME_UNAVAILABLE,
clientConnection);
return;
}
PlayerCharacter pc = PlayerCharacter.generatePCFromCommitNewCharacterMsg(session.getAccount(), commitNewCharacterMessage, clientConnection);
if (pc == null) {