Fixed nullref inside GetItemMinAvgMaxFleaPriceValues

This commit is contained in:
Chomp
2025-10-16 16:29:47 +01:00
parent 697e07456d
commit 13f370f0dc
@@ -343,7 +343,7 @@ public class RagfairController(
var offers = ragfairOfferService.GetOffersOfType(getPriceRequest.TemplateId);
// Offers exist for item, get averages of what's listed
if (offers.Any())
if (offers != null && offers.Any())
{
// These get calculated while iterating through the list below
var minMax = new MinMax<double>(int.MaxValue, 0);