mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Player: fixed clientside display of weekly cap when refunding currency items
This commit is contained in:
@@ -7322,7 +7322,7 @@ void Player::ModifyCurrency(uint32 id, int32 count, bool printLog/* = true*/, bo
|
||||
packet << uint32(newTotalCount / precision);
|
||||
packet << uint32(id);
|
||||
if (weekCap)
|
||||
packet << uint32(newWeekCount / precision);
|
||||
packet << uint32((!isRefund ? newWeekCount : oldWeekCount) / precision);
|
||||
|
||||
GetSession()->SendPacket(&packet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user