fix(mod): fixed profiles being corrupted after restart

This commit is contained in:
Yui
2025-11-05 16:17:04 -03:00
parent 99f0a2a3c9
commit 2267e1078e
2 changed files with 2 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ using WeebSights.Models;
namespace WeebSights.Services;
[Injectable(TypePriority = OnLoadOrder.PostDBModLoader + 4)]
[Injectable]
public class WeebLocaleService(JsonUtil jsonUtil)
{
public bool TryLoadLocales(string filePath, out Dictionary<MongoId, WeebLocaleConfig> outputObject)