Update QuantumPatches.cs

This commit is contained in:
Mister_Nebula 2022-03-07 20:54:23 +00:00
parent 7b892929cb
commit 92dc6a9c28

View File

@ -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)