From 92dc6a9c280422688de6be23c89d35bac274bd66 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Mon, 7 Mar 2022 20:54:23 +0000 Subject: [PATCH] Update QuantumPatches.cs --- QSB/QuantumSync/Patches/QuantumPatches.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QSB/QuantumSync/Patches/QuantumPatches.cs b/QSB/QuantumSync/Patches/QuantumPatches.cs index 069af1b7..78a83e83 100644 --- a/QSB/QuantumSync/Patches/QuantumPatches.cs +++ b/QSB/QuantumSync/Patches/QuantumPatches.cs @@ -18,6 +18,10 @@ public class QuantumPatches : QSBPatch { public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect; + [HarmonyPrefix] + [HarmonyPatch(typeof(QuantumSocketCollapseTrigger), nameof(QuantumSocketCollapseTrigger.OnTriggerEnter))] + public static bool QuantumSocketCollapseTrigger_OnTriggerEnter() => false; + [HarmonyPrefix] [HarmonyPatch(typeof(QuantumObject), nameof(QuantumObject.IsLockedByPlayerContact))] public static bool QuantumObject_IsLockedByPlayerContact(out bool __result, QuantumObject __instance)