Skip to content

Commit

Permalink
Improve: Circular Dependency Lausandy Text Edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Nov 21, 2024
1 parent fd63b97 commit beac0b2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,12 @@ Contact the mod author to fix this configuration error.
internal static IDiagnosticTemplate CircularDependencyTemplate = DiagnosticTemplateBuilder
.Start()
.WithId(new DiagnosticId(Source, 9))
.WithTitle("'{ModName}' Has Circular Dependency with '{CircularDependencyName}'")
.WithTitle("Mods Are Stuck In a Loop: '{ModName}' and '{CircularDependencyName}'")
.WithSeverity(DiagnosticSeverity.Critical)
.WithSummary("'{ModName}' and '{CircularDependencyName}' are circular dependencies")
.WithSummary("Mods Are Stuck In a Loop: '{ModName}' and '{CircularDependencyName}'")
.WithDetails("""
The mods `{ModName}` and `{CircularDependencyName}` create a circular dependency chain where they depend on each other.
`{ModName}` and `{CircularDependencyName}` are creating a `circular dependency`.
This means each mod is waiting for the other to load first, causing a loop that stops both mods from working.
### How to Resolve
1. Contact the mod authors to resolve the circular dependency
Expand Down

0 comments on commit beac0b2

Please sign in to comment.