Add back missing method signature for Outer Wives

This commit is contained in:
Nick 2023-12-17 00:54:31 -05:00
parent b987da9e49
commit 725ccf00cd
2 changed files with 5 additions and 4 deletions

View File

@ -78,6 +78,11 @@ namespace NewHorizons.Builder.Props
}
}
// Never change method signatures, people directly reference the NH dll and it can break backwards compatability
// In particular, Outer Wives needs this method signature
public static GameObject Make(GameObject go, Sector sector, GameObject prefab, DetailInfo detail)
=> Make(go, sector, null, prefab, detail);
/// <summary>
/// Create a detail using a prefab.
/// </summary>

View File

@ -4,11 +4,7 @@ using NewHorizons.Handlers;
using NewHorizons.Utility.OWML;
using OWML.Common;
using OWML.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace NewHorizons.Builder.Props