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:
@@ -1316,7 +1316,7 @@ namespace Game
|
||||
}
|
||||
|
||||
player.ModifyMoney(-(long)totalPrice);
|
||||
player.SaveGoldToDB(trans);
|
||||
player.SaveInventoryAndGoldToDB(trans);
|
||||
|
||||
foreach (MailedItemsBatch batch in items)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user