Added nullguard to SaveActiveModsToProfile
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user