24 lines
535 B
C#
Raw Normal View History

2022-05-14 19:53:00 +01:00
using System.Reflection;
using Aki.Reflection.Patching;
using Aki.Reflection.Utils;
using CWX_WeatherPatcher;
using EFT;
namespace CWX_WeatherPatch
{
public class CWX_WeatherPatch5 : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
var result = typeof(MainApplication).GetMethod("method_41", PatchConstants.PrivateFlags);
return result;
}
[PatchPostfix]
private static void PatchPostFix()
{
Plugin.Fix();
}
}
}