using Global.Shared.Patches; using HarmonyLib; using Sandbox.Game.GameSystems.Conveyors; namespace Global.Patches { [HarmonyPatch(typeof(MyConveyorLine))] public class MyConveyorLinePatch { [HarmonyPrefix] [HarmonyPatch(nameof(MyConveyorLine.UpdateIsWorking))] private static bool UpdateIsWorkingPrefix() { return !CubeGridPatch.IsInMergeGridInternal; } } }