Core/Players: Drop Player::SaveGoldToDB() and move it's code to Player::SaveInventoryAndGoldToDB()

Port From (https://github.com/TrinityCore/TrinityCore/commit/02b977c98ec26bc21cb3e779e60e16a7587bfcb9)
This commit is contained in:
hondacrx
2024-02-27 13:43:42 -05:00
parent 86a3021dc6
commit 5406d75d0d
4 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -1316,7 +1316,7 @@ namespace Game
}
player.ModifyMoney(-(long)totalPrice);
player.SaveGoldToDB(trans);
player.SaveInventoryAndGoldToDB(trans);
foreach (MailedItemsBatch batch in items)
{