Example #1
0
 static void Prefix(Humanoid __0, ItemStand __instance, ref bool __result, ref bool __runOriginal)
 {
     if (PreventAccidentalInteraction.ShouldBlockInteraction(__instance))
     {
         __result      = false;
         __runOriginal = false;
     }
 }
Example #2
0
 static void Prefix(ItemStand __instance, ref string __result, ref bool __runOriginal)
 {
     // UnityEngine.Debug.Log("ShouldBlock: " + PreventAccidentalInteraction.ShouldBlockInteraction().ToString());
     if (PreventAccidentalInteraction.ShouldBlockInteraction(__instance))
     {
         __result      = String.Empty;
         __runOriginal = false;
     }
 }