More warning fixes

This commit is contained in:
Deukhoofd committed 2025-05-02 16:06:01 +02:00
1 parent dabb26e4f2
commit b69ba6eaff
56 files changed
+56 -80

No files matched your search

@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using PkmnLib.Static;
using PkmnLib.Static.Utils;
@@ -34,7 +33,7 @@ public class ChangeMultipleTargetStatBoosts : Script
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
EventBatchId batchId = new();
foreach (var stat in _statBoosts!)
foreach (var stat in _statBoosts)
{
target.ChangeStatBoost(stat.Key, stat.Value, true, batchId);
}