public override void PostUpdateEquips() // Applies orbital buffs { for (int type = 0; type < OrbitalID.Orbital.Length; type++) { if (active[type]) { OrbitalProjectile.FindFirst(mod, player, type)?.PlayerEffects(); } } }
public override void PostUpdateEquips() { for (int type = 0; type < OrbitalID.Orbital.Length; type++) { if (active[type]) { OrbitalProjectile orbital = OrbitalProjectile.FindFirstOrbital(mod, player, type); if (orbital != null) { orbital.PlayerEffects(); } } } }