diff options
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index f0340cf5..f9f84206 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -1122,11 +1122,7 @@ namespace StardewModdingAPI.Framework if (args.LoadOperations.Any() || args.EditOperations.Any()) { operations.Add( - new AssetOperationGroup( - mod, - args.LoadOperations.Select(p => new AssetLoadOperation(mod, assetInfo => p.GetData(assetInfo))).ToArray(), - args.EditOperations.Select(p => new AssetEditOperation(mod, assetInfo => p.ApplyEdit(assetInfo))).ToArray() - ) + new AssetOperationGroup(mod, args.LoadOperations.ToArray(), args.EditOperations.ToArray()) ); } } |