Misc fixes

This commit is contained in:
hondacrx
2019-11-01 17:19:20 -04:00
parent e2f75b5f54
commit 9415511208
4 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);