NREater
Tries to fix (spammy) vanilla null reference exceptions — [ server-side* ]
About this mod Author’s original text
nreater
NullReferenceException: Object reference not set to an instance of an object
Tries to fix (spammy) vanilla null reference exceptions.
targets
- ElusiveAntlersPickup
- prevent NRE spam when the owner of orb pickups spawned by Elusive Antlers dies
todo
- observe other common NREs
- try fix ElusiveAntlersPickup.Start
- try fix ElusiveAntlersPickup.OnDestroy?
- patch out all Debug.LogError("Can't PushPickupNotification for " + Util.GetBestMasterName(characterMaster) + " because they aren't local."); in CharacterMasterNotificationQueue?
- just kind of annoying (and harmless)
- *but not an NRE**
see also
- MeridianPrimePrime — fixes an NRE when cracking Aurelionite Geodes on Prime Meridian
- fixed in vanilla RoR2v1.3.6 [Seekers of the Storm Roadmap Phase 1 — Items & Elites]
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
bbepis-BepInExPack