-
Notifications
You must be signed in to change notification settings - Fork 20
Description
The Sapsucker will no longer crash my game when I get killed by it, but it does make players wearing models invincible to it. I have tested this by playing without this mod, and everything worked; I have tested this by downloading the mod while wearing nothing, and it worked fine; I even tested the difference between wearing a modded suit and a model when getting attacked, and the only issue was while I was wearing a model suit. Playing in singleplayer works fine--whether you are wearing a suit or a model. However, playing in multiplayer does not provide the same results. My friend, while wearing a model, was invincible to the Sapsucker's attacks. I was not, though, because I was wearing a suit.
This is the error message I got from the logs:
[Error : Unity Log] System.NullReferenceException: Object reference not set to an instance of an object
at ModelReplacement.Patches.PlayerControllerBPatch.SpawnDeadBody (System.Int32 playerId, UnityEngine.Vector3 bodyVelocity, System.Int32 causeOfDeath, GameNetcodeStuff.PlayerControllerB deadPlayerController, System.Int32 deathAnimation, UnityEngine.Transform overridePosition, UnityEngine.Vector3 positionOffset) [0x00002] in :IL_0002