From 310301ceeeeb42e1840f2cf4073ee48fa28ed432 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sat, 25 Jan 2025 06:23:20 -0500 Subject: [PATCH] grah --- NewHorizons/External/Modules/Props/DetailInfo.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NewHorizons/External/Modules/Props/DetailInfo.cs b/NewHorizons/External/Modules/Props/DetailInfo.cs index 1cbad2da..4c4ca70c 100644 --- a/NewHorizons/External/Modules/Props/DetailInfo.cs +++ b/NewHorizons/External/Modules/Props/DetailInfo.cs @@ -9,6 +9,13 @@ namespace NewHorizons.External.Modules.Props [JsonObject] public class SimplifiedDetailInfo : GeneralPropInfo { + public SimplifiedDetailInfo() { } + + public SimplifiedDetailInfo(GeneralPointPropInfo info) + { + JsonConvert.PopulateObject(JsonConvert.SerializeObject(info), this); + } + /// /// Relative filepath to an asset-bundle to load the prefab defined in `path` from ///