Skip to content

About

Unofficially fix bugs in the mod.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Logo

CUModFixer

中文指南

GitHub | NexusMods

A BepInEx plugin for Casualties Unknown that fixes compatibility issues with third-party mods.

Overview

CUMod Fixer is a compatibility patch plugin that resolves conflicts between Casualties Unknown, KrokoshaCasualtiesMP ( multiplayer mod), and third-party mods like New Firearms and New Clothing.

Fixes

Vanilla Game

  • Prevents BuildingEntity.Update() from throwing ArgumentException when Resources.Load("DustBig") returns null.

New Firearms

  • Prevents RshGun.MpScareCheck() from throwing exceptions when KrokoshaScavMultiGameObjectNetworkTracker is missing on the item.
  • Prevents RshGun.IsOnBack() from throwing a NullReferenceException when NetPlayer.GetNetPlayerFromBody(body) returns null during world generation.
  • Prevents PlayerCameraPatch1.HandleLegacyGunUi() from throwing a NullReferenceException when PlayerCamera.body is null during world generation.
  • Suppresses repeated "[NewFirearms] Can not add stun collider to spider" log warnings (only the first occurrence is logged).

New Clothing

  • Prevents RshClothing.Update() from throwing a NullReferenceException when this.it is null.

KrokoshaCasualtiesMP

  • Prevents KrokoshaGunScriptTrackerComponent.Update() from throwing a NullReferenceException when PlayerCamera.main.body is null.

License

LGPL v3

About

Unofficially fix bugs in the mod.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

Generated from CNCUMC/Moss-Template