

Asta.CfeeLowVersionFix is a BepInEx compatibility plugin for Lethal Company that makes CoordinateForEasterEggs work on lower versions where it would normally only work on higher versions.
The original mod can crash on some older game/mod combinations after StunGrenadeItem.SetExplodeOnThrowClientRpc(bool) when it tries to send an extra custom ClientRpc. If that RPC is not registered on the target version, the game can throw a KeyNotFoundException.
This fix avoids that path and generates the visual egg line locally on the client using data the game has already synchronized.
In short, this project exists to bring a higher-version-only mod behavior down to lower-version environments.
The purpose of this project is not to replace CFEE.
Its job is to keep the original mod usable on lower versions by removing the fragile version-dependent RPC path that breaks there.
This project makes CFEE usable on lower versions by stopping crashes in a flow like this:
StunGrenadeItem.SetExplodeOnThrowClientRpc(bool) runs.EggLineSync.Instance.EggLinesClientRpc(...).Instead of relying on the extra custom RPC, this fix:
EggLinesClientRpc(...) pathSetExplodeOnThrowClinetRPCExtension(...) pathSetExplodeOnThrowClientRpc(bool) directlyGenerateEggLine(Vector3, bool) locally through reflectionAt runtime, the plugin:
This keeps the effect visible without depending on a custom networked RPC path.
CoordinateForEasterEggs installedThis plugin has a hard dependency on the original CFEE mod and does nothing on its own.
Plugin metadata:
asta.cfee.lowverfixCFEE Low Version Fix0.1.0CoordinateForEasterEggs mod.CFEELowVersionFix.dll into your BepInEx plugins folder.Default build output:
src/bin/Debug/netstandard2.1/CFEELowVersionFix.dllProject file:
src/Asta.CfeeLowVersionFix.csprojBuild command:
dotnet build src\Asta.CfeeLowVersionFix.csproj
The .csproj currently references Lethal Company assemblies from the default Steam install path:
c:/Program Files (x86)/Steam/steamapps/common/Lethal Company/Lethal Company_Data/Managed/Assembly-CSharp.dllc:/Program Files (x86)/Steam/steamapps/common/Lethal Company/Lethal Company_Data/Managed/Unity.Netcode.Runtime.dllc:/Program Files (x86)/Steam/steamapps/common/Lethal Company/Lethal Company_Data/Managed/Unity.InputSystem.dllc:/Program Files (x86)/Steam/steamapps/common/Lethal Company/Lethal Company_Data/Managed/Unity.TextMeshPro.dllc:/Program Files (x86)/Steam/steamapps/common/Lethal Company/Lethal Company_Data/Managed/UnityEngine.UI.dllIf your game is installed somewhere else, update the HintPath values in the project file.
src/CfeeLowVersionFixPlugin.cs: plugin entry pointsrc/OriginalCfeeHooks.cs: CFEE bypass hooks and reflection-based access to GenerateEggLinesrc/Patches/StunGrenadeItemSetExplodeOnThrowClientRpcPatch.cs: local egg line triggerLethalCompanyPatched.sln: Visual Studio solutionThe main idea is simple:
avoid the fragile custom ClientRpc + internal handler path from the higher-version implementation and reuse the game's existing SetExplodeOnThrowClientRpc(bool) signal so CFEE can still function on lower versions.