fix traderRefresh of purchases

This commit is contained in:
CWX
2025-01-25 11:50:07 +00:00
parent ab26e4205c
commit 8559c52c67
@@ -148,9 +148,9 @@ public class TraderPurchasePersisterService(
if (resetTimeForItem < _timeUtil.GetTimeStamp())
{
// Item was purchased far enough in past a trader refresh would have occured, remove purchase record from profile
_logger.Debug($"Removed trader: {traderId} purchase: {purchaseKvP} from profile: {profile.ProfileInfo.ProfileId}");
_logger.Debug($"Not a bad warning: Removed trader: {traderId} purchase: {purchaseKvP} from profile: {profile.ProfileInfo.ProfileId}");
profile.TraderPurchases.Remove(purchaseKvP.Key);
profile.TraderPurchases[traderId].Remove(purchaseKvP.Key);
}
}
}