Fixed Permafrost's Concoction causing errors
This commit is contained in:
1 parent
84cfc08018
commit
8ea7e4d008
1 file changed
+1
-1
@@ -352,7 +352,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
// Permafrost's Concoction increases life regen while afflicted with a fire debuff
|
||||
if (permafrostsConcoction && Player.buffType.Any(l => BuffDatasets.DebuffDataset[l].HeatDebuffScaling > 0))
|
||||
if (permafrostsConcoction && Player.buffType.Any(l => BuffDatasets.DebuffDataset[l] is not null && BuffDatasets.DebuffDataset[l].HeatDebuffScaling > 0))
|
||||
{
|
||||
if (Player.lifeRegenTime < 900)
|
||||
Player.lifeRegenTime = 900;
|
||||
|
||||
Reference in new issue
Block a user