


Prevents stale water/tar state from making players, carts, or floating objects stay stuck swimming or tarred after leaving a liquid trigger.
Valheim liquid volumes keep a list of objects currently inside water or tar. If OnTriggerExit is missed, an old WaterVolume or LiquidSurface can keep sending positive SetLiquidLevel(...) updates to an object that already left.
This mod keeps the fix narrow:
WaterVolume and LiquidSurface before floater updates.Only four options are exposed:
[General]
LockConfiguration = true
Enabled = true
BoundsPadding = 0.75
[Debug]
DebugLogging = false
Enabled turns all runtime protection on or off.
LockConfiguration lets the server control synced options.
BoundsPadding adds a small margin to liquid/target bounds checks. Keep the default unless legitimate shallow water or tar is rejected.
DebugLogging logs rejected liquid updates and stale purges. Leave it off during normal play.
https://github.com/sighsorry1029/BlastedSwimmingTarredBugFix