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:
voronius
2014-08-02 11:01:16 +03:00
parent 48a1014fb0
commit ca004a162c
+2 -1
View File
@@ -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"));
}