Changed to CheckMana

This commit is contained in:
CongratsIsTrash committed 2026-03-24 22:18:03 -04:00
1 parent 71e5c62c9b
commit df69ec5ed7
1 file changed
+1 -2
+1 -2
View File
@@ -4853,8 +4853,7 @@ namespace CalamityMod.CalPlayer
//For use when the player runs out of mana. Currently only used for Feather and Moonstone Crown
if (Player.HeldItem.mana > 0 && Player.controlUseItem && Player.itemAnimation == 0)
{
int manaCost = Player.GetManaCost(Player.HeldItem);
if (Player.statMana < manaCost)
if (!Player.CheckMana(Player.HeldItem, -1, false, true))
{
if (moonCrown || featherCrown)
{