Lethal Company
Install with App

Details

Latest version
1.0.1
Last Updated
First Uploaded
Downloads
263
Likes
0
Size
45KB
Dependants

Coroner Fix

An automated BepInEx preloader patch for Coroner (EliteMasterEric-Coroner) that silences the rampant console log spam:

[Warning:   Coroner] Could not access dying player: Collider was not a player!
[Warning:   Coroner] Could not access dying player: Index not assigned!

What It Fixes

In unpatched versions of Coroner (v2.4.1), whenever an enemy attacks or collides with any non-player object (doors, terrain, items, or other enemies), CauseOfDeathPatchState repeatedly emits LogWarning entries. Over a standard session, this floods LogOutput.log with tens or hundreds of thousands of false-positive warning lines, reducing disk performance and cluttering game logs.

This patch cleanly demotes all non-player collision warnings in CauseOfDeathPatchState to LogDebug, suppressing them from standard console and log output while preserving normal cause-of-death reporting functionality.


How It Works

This mod runs as a BepInEx preloader patcher. At game startup, it scans for Coroner.dll in BepInEx/plugins/ and applies the IL patch in-place before plugins are loaded into memory:

  • Fully automated—no manual file decompilation required.
  • Automatically creates a .orig backup of the unpatched binary.
  • Survives mod updates and reinstalls.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.