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:
@@ -532,7 +532,7 @@ namespace Game
|
||||
|
||||
// save money and mail to prevent cheating
|
||||
SQLTransaction trans = new();
|
||||
player.SaveGoldToDB(trans);
|
||||
player.SaveInventoryAndGoldToDB(trans);
|
||||
player._SaveMail(trans);
|
||||
DB.Characters.CommitTransaction(trans);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user