Add Patches/AllowedPatch.cs
This commit is contained in:
1 parent
2e96ab8f6c
commit
51a6e5874e
1 file changed
+12
@@ -0,0 +1,12 @@
|
|||||||
|
using HarmonyLib;
|
||||||
|
|
||||||
|
namespace DeezCosmetx.Patches
|
||||||
|
{
|
||||||
|
[HarmonyPatch(typeof(VRRig))]
|
||||||
|
[HarmonyPatch("IsItemAllowed", MethodType.Normal)]
|
||||||
|
internal class SlidePatch
|
||||||
|
{
|
||||||
|
private static void Postfix(VRRig __instance, ref bool __result) =>
|
||||||
|
__result = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user