mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-13 03:13:26 -04:00
fix for not being able to reuse or delete char
Fix for not being able to reuse or delete char after creation. All chars were only available once as the query to the result set used wrong field name to get the char id.
This commit is contained in:
@@ -333,11 +333,12 @@ public class LoginService implements INetworkDispatch{
|
||||
|
||||
String characterName = resultSet.getString("firstName").replaceAll("\\s",""); ;
|
||||
String lastName = resultSet.getString("lastName").replaceAll("\\s","");
|
||||
|
||||
if (lastName != null && lastName.length() > 0) characterName += " " + lastName;
|
||||
enumerateCharacterId.addCharacter(
|
||||
characterName,
|
||||
resultSet.getInt("appearance"),
|
||||
resultSet.getLong("Id"),
|
||||
resultSet.getLong("id"),
|
||||
resultSet.getInt("galaxyId"),
|
||||
resultSet.getInt("statusId"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user