public void RandomizeItemColors()
{
if (!this.RandomizeColorsEnabled)
return;
var rand = RandomProvider.Get();
lock (_items)
{
foreach (var item in _items.Values)
{
item.Info.Color1 = AuraData.ColorMapDb.GetRandom(item.Data.ColorMap1, rand);
item.Info.Color2 = AuraData.ColorMapDb.GetRandom(item.Data.ColorMap2, rand);
item.Info.Color3 = AuraData.ColorMapDb.GetRandom(item.Data.ColorMap3, rand);
}
}
}
}