Fixed Cloud Elemental not spawning in Remix world

This commit is contained in:
CongratsIsTrash committed 2024-10-26 02:25:52 -04:00
1 parent 34d2133305
commit feb0d7cc11
1 file changed
+1 -1
+1 -1
View File
@@ -452,7 +452,7 @@ namespace CalamityMod.NPCs.NormalNPCs
public override float SpawnChance(NPCSpawnInfo spawnInfo)
{
if (spawnInfo.PlayerSafe || !Main.hardMode || !Main.raining || !spawnInfo.Player.ZoneSkyHeight)
if (spawnInfo.PlayerSafe || !Main.hardMode || (!Main.raining && !Main.remixWorld) || !spawnInfo.Player.ZoneSkyHeight)
return 0f;
// Keep this as a separate if check, because it's a loop and we don't want to be checking it constantly.