diff --git a/CringeLauncher/Patches/EosInitPatch.cs b/CringeLauncher/Patches/EosInitPatch.cs index c68037b..4e375dc 100644 --- a/CringeLauncher/Patches/EosInitPatch.cs +++ b/CringeLauncher/Patches/EosInitPatch.cs @@ -6,7 +6,7 @@ namespace CringeLauncher.Patches; // eos is disabled // [HarmonyPatch] -public class EosInitPatch +public static class EosInitPatch { private static MethodInfo TargetMethod() => AccessTools.Method(Type.GetType("VRage.EOS.MyEOSNetworking, VRage.EOS", true), "Init"); diff --git a/CringeLauncher/Patches/RenderHookPatch.cs b/CringeLauncher/Patches/RenderHookPatch.cs index db33386..edc2641 100644 --- a/CringeLauncher/Patches/RenderHookPatch.cs +++ b/CringeLauncher/Patches/RenderHookPatch.cs @@ -8,7 +8,7 @@ using System.Reflection; namespace CringeLauncher.Patches; [HarmonyPatch] -public class RenderHookPatch +public static class RenderHookPatch { [HarmonyPrefix, HarmonyPatch(typeof(SwapChain), nameof(SwapChain.Present))] private static void PresentPrefix()