Beispiel #1
0
 internal static void Postfix(string name, ref Sprite __result)
 {
     if (ModContent.GetContent <ModTowerSet>().FirstOrDefault(set => set.Id == name) is ModTowerSet modTowerSet)
     {
         __result = ModContent.GetSprite(modTowerSet.mod, modTowerSet.Container);
     }
 }