This commit is contained in:
2025-03-03 21:01:50 +02:00
parent bc10f6b1b7
commit 7b5b4b2744

View File

@@ -6,6 +6,7 @@ using System.Threading.Tasks;
using BoneSync.Sync;
using BoneSync.Sync.Components;
using HarmonyLib;
using MelonLoader;
using StressLevelZero.Interaction;
namespace BoneSync.Patching
{
@@ -24,6 +25,8 @@ namespace BoneSync.Patching
if (!(__instance.pullCoroutine != null && !__state))
return;
MelonLogger.Msg("ForcePullGrip.OnFarHandHoverUpdate: " + __instance.name + " Hand: " + hand.name);
InteractableHost interactableHost = __instance.GetComponent<InteractableHost>();
if (interactableHost == null) return;
Syncable syncable = ObjectSync.MakeOrGetSyncable(interactableHost);