diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index cb88248316..4e65df3a16 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -372,7 +372,7 @@ namespace CalamityMod.CalPlayer for (int i = 0; i < Main.maxNPCs; ++i) { NPC npc = Main.npc[i]; - if (npc is null || !npc.IsAnEnemy() || !npc.Calamity().ProvidesProximityRage) + if (npc is null || npc.type == 0 || !npc.IsAnEnemy() || !npc.Calamity().ProvidesProximityRage) continue; // Take the longer of the two directions for the NPC's hitbox to be generous. diff --git a/UI/BossHealthBarManager.cs b/UI/BossHealthBarManager.cs index 82f4d3e09b..6c8057c280 100644 --- a/UI/BossHealthBarManager.cs +++ b/UI/BossHealthBarManager.cs @@ -180,6 +180,7 @@ namespace CalamityMod.UI { BossExclusionList = new List { + NPCID.None, NPCID.MoonLordFreeEye, NPCID.MoonLordHead, NPCID.MoonLordHand,