Removed NotSet from ItemRarity enum

This commit is contained in:
Ben Wallis
2018-12-05 20:39:20 +00:00
parent 4052d6e020
commit 79274df0fb
3 changed files with 8 additions and 15 deletions

View File

@@ -16,23 +16,20 @@ namespace Filtration.ObjectModel.Extensions
}
case ItemRarity.Normal:
{
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.WhiteItem];
}
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.WhiteItem];
}
case ItemRarity.Rare:
{
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.RareItem];
}
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.RareItem];
}
case ItemRarity.Unique:
{
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.UniqueItem];
}
case ItemRarity.NotSet:
{
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.QuestItem];
return PathOfExileNamedColors.Colors[PathOfExileNamedColor.UniqueItem];
}
default:
{
throw new ArgumentOutOfRangeException(nameof(itemRarity), itemRarity, null);
}
}
}
}