
Some checks failed
Build / Compute Version (push) Successful in 4s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 2m12s
Build / Build Nuget package (NuGet) (push) Successful in 1m55s
Build / Build Nuget package (SharedCringe) (push) Has been cancelled
Build / Build Nuget package (CringePlugins) (push) Has been cancelled
Build / Build Launcher (push) Has been cancelled
14 lines
361 B
C#
14 lines
361 B
C#
using HarmonyLib;
|
|
using VRage.Network;
|
|
|
|
namespace CringeLauncher.Patches;
|
|
|
|
[HarmonyPatch(typeof(MyTypeTable), "IsSerializableClass")]
|
|
public static class TypeTableRegisterPatch
|
|
{
|
|
private static void Postfix(Type type, ref bool __result)
|
|
{
|
|
if (type == typeof(Delegate) || type == typeof(MulticastDelegate))
|
|
__result = true;
|
|
}
|
|
} |