From 52758e4e43ad60e7b9e69d00cf4a75d1515277fe Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 7 Oct 2021 18:47:28 -0400 Subject: fix build error with Stardew Valley 1.5.4 --- src/SMAPI.Toolkit/Framework/Clients/Wiki/ChangeDescriptor.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/SMAPI.Toolkit/Framework/Clients/Wiki/ChangeDescriptor.cs') diff --git a/src/SMAPI.Toolkit/Framework/Clients/Wiki/ChangeDescriptor.cs b/src/SMAPI.Toolkit/Framework/Clients/Wiki/ChangeDescriptor.cs index 6fcc3b18..44ebf297 100644 --- a/src/SMAPI.Toolkit/Framework/Clients/Wiki/ChangeDescriptor.cs +++ b/src/SMAPI.Toolkit/Framework/Clients/Wiki/ChangeDescriptor.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -using System.Text; namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki { @@ -180,7 +179,7 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki errors = rawErrors.ToArray(); } else - errors = Array.Empty(); + errors = new string[0]; // build model return new ChangeDescriptor( -- cgit