internal static void SetMatch(int type, ref int equipSlot, ref bool robes)
{
ModItem modItem = GetItem(type);
if (modItem != null)
{
modItem.SetMatch(ref equipSlot, ref robes);
}
foreach (GlobalItem globalItem in globalItems)
{
globalItem.SetMatch(type, ref equipSlot, ref robes);
}
}