mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
Update QuantumPatches.cs
This commit is contained in:
parent
7b892929cb
commit
92dc6a9c28
@ -18,6 +18,10 @@ public class QuantumPatches : QSBPatch
|
|||||||
{
|
{
|
||||||
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
||||||
|
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch(typeof(QuantumSocketCollapseTrigger), nameof(QuantumSocketCollapseTrigger.OnTriggerEnter))]
|
||||||
|
public static bool QuantumSocketCollapseTrigger_OnTriggerEnter() => false;
|
||||||
|
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
[HarmonyPatch(typeof(QuantumObject), nameof(QuantumObject.IsLockedByPlayerContact))]
|
[HarmonyPatch(typeof(QuantumObject), nameof(QuantumObject.IsLockedByPlayerContact))]
|
||||||
public static bool QuantumObject_IsLockedByPlayerContact(out bool __result, QuantumObject __instance)
|
public static bool QuantumObject_IsLockedByPlayerContact(out bool __result, QuantumObject __instance)
|
||||||
|
Loading…
Reference in New Issue
Block a user