We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f44ed05 commit 26e5a8eCopy full SHA for 26e5a8e
backend/app/debug_info.go
@@ -199,6 +199,10 @@ func addMetadata(writer *zip.Writer) error {
199
SMLVersion: smlVersion,
200
}
201
202
+ if selectedInstallInstance != nil {
203
+ metadata.ModsEnabled = !selectedInstallInstance.Vanilla
204
+ }
205
+
206
metadataBytes, err := utils.JSONMarshal(metadata, 2)
207
if err != nil {
208
return fmt.Errorf("failed to marshal metadata: %w", err)
0 commit comments