Lethal Company
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
1.3K
Likes
0
Size
72KB
Dependants

Categories

ModelReplacement Fix

A simple BepInEx patch that fixes console spam caused by an IndexOutOfRangeException in ModelReplacement.BodyReplacementBase.UpdateItemTransform.

The Problem

The latest Lethal Company update added a new utility item slot (e.g. the torch). When switching from the utility slot back to a regular item, ModelReplacement tries to access a bone index that doesn't exist in its array — flooding the BepInEx console with errors every frame.

What This Mod Does

Suppresses the exception silently after logging a single warning on first occurrence. The game is otherwise completely unaffected.

Requirements

Installation

Drop ModelReplacementFix.dll into your BepInEx/plugins/ folder.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.