Changed to primary ctor and fixed warnings

This commit is contained in:
CWX
2025-01-18 12:43:53 +00:00
parent 0d3006c7c0
commit 09ac1e8b72
4 changed files with 96 additions and 109 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ public class BotController
return _databaseService.GetBots().Core;
}
public DifficultyCategories GetBotDifficulty(string type, string diffLevel, GetRaidConfigurationRequestData raidConfig, bool ignoreRaidSettings = false)
public DifficultyCategories GetBotDifficulty(string type, string diffLevel, GetRaidConfigurationRequestData? raidConfig, bool ignoreRaidSettings = false)
{
var difficulty = diffLevel.ToLower();