SMSMod-FurnitureResizer/Rack_Initialize_Patch.cs
2024-05-02 19:18:53 +02:00

13 lines
271 B
C#

using HarmonyLib;
namespace FurnitureResizer
{
[HarmonyPatch(typeof(Rack), "Initialize")]
public static class Rack_Initialize_Patch
{
public static void Prefix(Rack __instance)
{
Plugin.Racks.Add(__instance);
}
}
}