fix traderRefresh of purchases
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user