first
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
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
This commit is contained in:
14
CringeLauncher/Patches/TypeTableRegisterPatch.cs
Normal file
14
CringeLauncher/Patches/TypeTableRegisterPatch.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user