diff --git a/DragaliaAPI/Features/Event/EventRepository.cs b/DragaliaAPI/Features/Event/EventRepository.cs index 747187ead..63d5be5ce 100644 --- a/DragaliaAPI/Features/Event/EventRepository.cs +++ b/DragaliaAPI/Features/Event/EventRepository.cs @@ -185,8 +185,6 @@ public async Task AddItemQuantityAsync(int itemId, int quantity) if (quantity < 0) throw new ArgumentOutOfRangeException(nameof(quantity)); - var b = this.Items.ToList(); - DbPlayerEventItem item = await GetEventItemAsync(itemId) ?? throw new DragaliaException(ResultCode.CommonDbError, "Event item not found"); diff --git a/DragaliaAPI/Features/Shop/ItemSummonService.cs b/DragaliaAPI/Features/Shop/ItemSummonService.cs index 5b45045ca..0d27f32a7 100644 --- a/DragaliaAPI/Features/Shop/ItemSummonService.cs +++ b/DragaliaAPI/Features/Shop/ItemSummonService.cs @@ -39,8 +39,6 @@ IMissionProgressionService missionProgressionService this.missionProgressionService = missionProgressionService; this.random = Random.Shared; - var b = this.config.Odds.Sum(x => x.Rate); - this.summonWeights = new int[this.config.Odds.Count]; int weight = 0;