diff --git a/World/SulphurousSea.cs b/World/SulphurousSea.cs index e9941e40b9..fcf2a57ce1 100644 --- a/World/SulphurousSea.cs +++ b/World/SulphurousSea.cs @@ -670,8 +670,14 @@ namespace CalamityMod.World chest = MiscWorldgenRoutines.AddChestWithLoot(x, y, (ushort)ModContent.TileType()); } } + + if (attempts >= 5000) + break; } + if (attempts >= 5000) + continue; + // If a chest was placed, force its first item to be the unique item. if (chest != null) {