Skip to content

Commit

Permalink
Merge pull request #11 from loentar/fix-skill-load-issue-10
Browse files Browse the repository at this point in the history
fix(character): load every character's skills
  • Loading branch information
JulienGrv committed Sep 17, 2017
2 parents 0a275bd + de082a1 commit 182d7ca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Abstraction/Saga.Map.Data.Mysql/MysqlProvider.Characters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1149,12 +1149,9 @@ bool LoadSkillsEx(MySqlConnection connection, IInfoProvider2 dbq, bool continueO
skill.Experience = reader.GetUInt32(1);
if (Singleton.SpellManager.TryGetSpell(skill.Id, out skill.info) && skill.info.requiredJobs[collection.Job - 1] == 1 )
collection.Skills.Add(skill);

return true;
}

__dbtracelog.WriteError("Database", "player skill-data of player with id {0} is missing", collection.CharacterId);
return continueOnError;
return true;
}
catch (Exception e)
{
Expand Down

0 comments on commit 182d7ca

Please sign in to comment.