Fixed Cloud Elemental not spawning in Remix world
This commit is contained in:
1 parent
34d2133305
commit
feb0d7cc11
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user