JM Godmode no longer increments sulphur meter

This commit is contained in:
Altixal committed 2023-01-02 13:49:29 +07:00
1 parent eb7ad72113
commit 367cd5fa17
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ namespace CalamityMod.CalPlayer
}
bool ASPoisoning = ASPoisonLevel > 0f;
if (ASPoisoning || (ZoneSulphur && Player.IsUnderwater() && !decayEffigy && !abyssalDivingSuit && !Player.lavaWet && !Player.honeyWet && !nearSafeZone))
if (ASPoisoning || (ZoneSulphur && !Player.creativeGodMode && Player.IsUnderwater() && !decayEffigy && !abyssalDivingSuit && !Player.lavaWet && !Player.honeyWet && !nearSafeZone))
{
float increment = 1f / SulphSeaWaterSafetyTime;
//No way to mitigate AS Poisoning