moved removal of prapor message to localService as this needs to happen each time we lazyload

This commit is contained in:
CWX
2025-04-17 13:20:54 +01:00
parent eed3c5e105
commit 257c8cc698
@@ -101,8 +101,6 @@ public class PostDbLoadService(
RemoveNewBeginningRequirementFromPrestige();
RemovePraporTestMessage();
ValidateQuestAssortUnlocksExist();
if (_seasonalEventService.IsAutomaticEventDetectionEnabled())
@@ -145,7 +143,7 @@ public class PostDbLoadService(
}
/// <summary>
/// Merge custom achievements into achievement db table
/// Merge custom achievements into achievement db table
/// </summary>
protected void MergeCustomAchievements()
{
@@ -519,19 +517,6 @@ public class PostDbLoadService(
}
}
/// <summary>
/// Blank out the "test" mail message from prapor
/// </summary>
protected void RemovePraporTestMessage()
{
// Iterate over all languages (e.g. "en", "fr")
var locales = _databaseService.GetLocales();
foreach (var localeKvP in locales.Global)
{
locales.Global[localeKvP.Key].Value["61687e2c3e526901fa76baf9"] = "";
}
}
/// <summary>
/// Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json
/// </summary>