mirror of
https://github.com/Pathoschild/SMAPI.git
synced 2026-10-12 02:08:51 +00:00
fix build error with Stardew Valley 1.5.4
This commit is contained in:
@@ -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<string>();
|
||||
errors = new string[0];
|
||||
|
||||
// build model
|
||||
return new ChangeDescriptor(
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#nullable enable
|
||||
|
||||
using System;
|
||||
|
||||
namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki
|
||||
{
|
||||
/// <summary>The data overrides to apply to matching mods.</summary>
|
||||
@@ -11,7 +9,7 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki
|
||||
** Accessors
|
||||
*********/
|
||||
/// <summary>The unique mod IDs for the mods to override.</summary>
|
||||
public string[] Ids { get; set; } = Array.Empty<string>();
|
||||
public string[] Ids { get; set; } = new string[0];
|
||||
|
||||
/// <summary>Maps local versions to a semantic version for update checks.</summary>
|
||||
public ChangeDescriptor? ChangeLocalVersions { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user