Misc fixes
This commit is contained in:
@@ -448,7 +448,7 @@ namespace Game.Entities
|
||||
List<uint> bonusListIDs = new List<uint>();
|
||||
for (var i = 0; i < bonusListString.Length; ++i)
|
||||
{
|
||||
if (uint.TryParse(tokens[i], out uint bonusListID))
|
||||
if (uint.TryParse(bonusListString[i], out uint bonusListID))
|
||||
bonusListIDs.Add(bonusListID);
|
||||
}
|
||||
SetBonuses(bonusListIDs);
|
||||
|
||||
@@ -3078,7 +3078,7 @@ namespace Game.Entities
|
||||
// first save/honor gain after midnight will also update the player's honor fields
|
||||
UpdateHonorFields();
|
||||
|
||||
Log.outDebug(LogFilter.Player, $"Player::SaveToDB: The value of player {GetName()}%s at save: ");
|
||||
Log.outDebug(LogFilter.Player, $"Player::SaveToDB: The value of player {GetName()} at save: ");
|
||||
|
||||
if (!create)
|
||||
Global.ScriptMgr.OnPlayerSave(this);
|
||||
|
||||
Reference in New Issue
Block a user