using System.Reflection; using NitroxModel.Helper; namespace NitroxPatcher.Patches.Dynamic; /// /// Prevents from starting coroutine . /// Reefbacks plants and creatures are spawned by ReefbackBootstrapper and the spawning logic is in /// public sealed partial class ReefbackLife_OnEnable_Patch : NitroxPatch, IDynamicPatch { private static readonly MethodInfo TARGET_METHOD = Reflect.Method((ReefbackLife t) => t.OnEnable()); public static bool Prefix() { return false; } }