diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 73a1825233..748b813462 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -58,11 +58,11 @@ namespace CalamityMod.Items public int timesUsed = 0; // Rarity is provided both as the classic int and the new enum. - public CalamityRarity CustomRarity = CalamityRarity.NoEffect; + public CalamityRarity customRarity = CalamityRarity.NoEffect; public int postMoonLordRarity { - get => (int)CustomRarity; - set => CustomRarity = (CalamityRarity)value; + get => (int)customRarity; + set => customRarity = (CalamityRarity)value; } #region SetDefaults diff --git a/Projectiles/Summon/MK2FlaskSummon.cs b/Projectiles/Summon/MK2FlaskSummon.cs index 565e4b030d..2bb6eb04f7 100644 --- a/Projectiles/Summon/MK2FlaskSummon.cs +++ b/Projectiles/Summon/MK2FlaskSummon.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Projectiles.Summon } public override void Kill(int timeLeft) { - if (Main.myPlayer == projectile.whoAmI) + if (Main.myPlayer == projectile.owner) { for (int i = 0; i < Main.rand.Next(18, 21); i++) { diff --git a/Projectiles/Summon/RadiantResolutionAura.cs b/Projectiles/Summon/RadiantResolutionAura.cs index f47aba8a72..7e4aa612f8 100644 --- a/Projectiles/Summon/RadiantResolutionAura.cs +++ b/Projectiles/Summon/RadiantResolutionAura.cs @@ -83,7 +83,7 @@ namespace CalamityMod.Projectiles.Summon projectile.ai[1]++; NPC potentialTarget = projectile.Center.MinionHoming(DistanceToCheck, player); - if (potentialTarget != null && Main.myPlayer == projectile.whoAmI) + if (potentialTarget != null && Main.myPlayer == projectile.owner) { if (projectile.ai[1] % 35 == 34) {