Application cleanup (#485)
* Changed application to use background services and removed hacky http server startup * Small improvements and method removals * Removed Core dependency on Web application SDK * Fixed wrong imported type --------- Co-authored-by: Alex <clodanSPT@hotmail.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This commit is contained in:
@@ -85,8 +85,8 @@ namespace SPTarkov.Server.Core.Migration.Migrations
|
||||
);
|
||||
|
||||
//Directly injecting CreateProfileService causes a circular dependency which I can't be bothered to fix just for this
|
||||
serviceProvider
|
||||
.GetService<CreateProfileService>()!
|
||||
(serviceProvider
|
||||
.GetService(typeof(CreateProfileService)) as CreateProfileService)!
|
||||
.AddMissingInternalContainersToProfile(profile.CharacterData.PmcData);
|
||||
}
|
||||
|
||||
@@ -135,8 +135,8 @@ namespace SPTarkov.Server.Core.Migration.Migrations
|
||||
.ToList();
|
||||
|
||||
//Directly injecting RewardHelper causes a circular dependency which I can't be bothered to fix just for this
|
||||
serviceProvider
|
||||
.GetService<RewardHelper>()!
|
||||
(serviceProvider
|
||||
.GetService(typeof(RewardHelper)) as RewardHelper)!
|
||||
.ApplyRewards(
|
||||
filteredRewards,
|
||||
CustomisationSource.ACHIEVEMENT,
|
||||
|
||||
Reference in New Issue
Block a user