From 4daa2ff6fbbcd8009518e9d9373a659a5b021b82 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+termigator1359@users.noreply.github.com> Date: Sat, 12 Dec 2020 20:29:28 -0500 Subject: [PATCH] maybe inputting the value directly will fix it --- CalPlayer/CalamityPlayerMiscEffects.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 0b5ce05a2f..6f76b8ef88 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -4151,8 +4151,8 @@ namespace CalamityMod.CalPlayer if (modPlayer.yharonLore && !CalamityWorld.defiled) { - if (player.wingTimeMax < int.MaxValue) - player.wingTimeMax = int.MaxValue; + if (player.wingTimeMax < 2147483647) + player.wingTimeMax = 2147483647; } // Do not apply reduced aggro if there are any bosses alive and it's singleplayer