using Aki.Reflection.Patching; using EFT; using System.Reflection; namespace ValensHasThePower { public class PatchThePower : ModulePatch { protected override MethodBase GetTargetMethod() { var result = typeof(GameWorld).GetMethod("OnGameStarted", BindingFlags.Public | BindingFlags.Instance); return result; } [PatchPostfix] private static void PatchPostFix() { PowerOn.Start(); } } }