public static void AutoLightSelect(Item item, ref bool dryTorch, ref bool wetTorch, ref bool glowstick) { if (item.modItem != null) { item.modItem.AutoLightSelect(ref dryTorch, ref wetTorch, ref glowstick); if (wetTorch) { dryTorch = false; glowstick = false; } if (dryTorch) { glowstick = false; } } }