Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ClaimChestOpen
Take chest ownership on your client before it opens, so a distant player in the same zone is not in the round trip. Client only.
CHANGELOG
1.0.2
- Verified Harmony target
Container.Interact(Humanoid, bool hold, bool alt)against Valheim 1.0.21. - Skip claim while the use key is held (vanilla Interact returns immediately on hold; the old prefix ran every frame).
- Use
Container.m_wagonandtransform.rootShip check instead of twoGetComponentInParentwalks. - Patch only the interact type at load instead of scanning the whole plugin assembly.
1.0.1
- Verified against Valheim 1.0.21 (Release build).
- BepInEx dependency set to
denikson-BepInExPack_Valheim-5.4.2360.
1.0.0
- Claim container ownership on your client before Interact, so opening a chest does not wait on a distant player who loaded the zone first.
- Ships and carts are left alone.
- Client-side. Dedicated server does not need it.