Added nullguard to SaveActiveModsToProfile

This commit is contained in:
Chomp
2025-05-27 17:12:20 +01:00
parent 64885dd6a2
commit f25aaa70f1
@@ -48,7 +48,7 @@ public class ClientLogCallbacks(
data.IllegalPluginsLoadedText = _localisationService.GetText("release-illegal-plugins-loaded");
data.IllegalPluginsExceptionText = _localisationService.GetText("release-illegal-plugins-exception");
data.ReleaseSummaryText = _localisationService.GetText("release-summary");
data.IsBeta = ProgramStatics.ENTRY_TYPE() == EntryType.BLEEDING_EDGE || ProgramStatics.ENTRY_TYPE() == EntryType.BLEEDING_EDGE_MODS;
data.IsBeta = ProgramStatics.ENTRY_TYPE() is EntryType.BLEEDING_EDGE or EntryType.BLEEDING_EDGE_MODS;
data.IsModdable = ProgramStatics.MODS();
data.IsModded = false; // TODO