From 5e3237d000aba8a4d3c7e40d5791a476fb5d6a65 Mon Sep 17 00:00:00 2001 From: Shockah Date: Thu, 24 Feb 2022 12:58:16 +0100 Subject: [PATCH] update Pintail --- src/SMAPI/Framework/SCore.cs | 4 ++-- src/SMAPI/SMAPI.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 81e56247..58537031 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -1481,8 +1481,8 @@ namespace StardewModdingAPI.Framework HashSet suppressUpdateChecks = new HashSet(this.Settings.SuppressUpdateChecks, StringComparer.OrdinalIgnoreCase); AssemblyBuilder assemblyBuilder = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName($"StardewModdingAPI.Proxies, Version={this.GetType().Assembly.GetName().Version}, Culture=neutral"), AssemblyBuilderAccess.Run); ModuleBuilder moduleBuilder = assemblyBuilder.DefineDynamicModule("StardewModdingAPI.Proxies"); - IProxyManager proxyManager = new DefaultProxyManager(moduleBuilder, new DefaultProxyManagerConfiguration( - proxyPrepareBehavior: DefaultProxyManagerProxyPrepareBehavior.Eager, + IProxyManager proxyManager = new ProxyManager(moduleBuilder, new ProxyManagerConfiguration( + proxyPrepareBehavior: ProxyManagerProxyPrepareBehavior.Eager, proxyObjectInterfaceMarking: ProxyObjectInterfaceMarking.Disabled )); diff --git a/src/SMAPI/SMAPI.csproj b/src/SMAPI/SMAPI.csproj index 3fc76299..1540ee42 100644 --- a/src/SMAPI/SMAPI.csproj +++ b/src/SMAPI/SMAPI.csproj @@ -25,7 +25,7 @@ - +