kking117 / RoR2-kking117Mods

Mods I've worked on for Risk of Rain 2.
1 stars 1 forks source link

[FlatItemBuff] Reworked defense nucleus' projectile shield doesn't appear #28

Closed LordVGames closed 10 months ago

LordVGames commented 10 months ago

The constructs still spawn, but there's no projectile shield. This error also happens when the defense nucleus goes off:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
FlatItemBuff.Components.DefenseNucleusShield.Awake () (at <80b3d07716834858b27db4c497d98941>:IL_003A)
UnityEngine.GameObject:AddComponent()
FlatItemBuff.Items.DefenseNucleus_Rework:Equipment_OnExecuted(orig_OnEquipmentExecuted, EquipmentSlot)
DMD<>?195456256:Hook<RoR2.EquipmentSlot::OnEquipmentExecuted>?-622723200(EquipmentSlot)
RoR2.EquipmentSlot:Execute()
RoR2.EquipmentSlot:ExecuteIfReady()
RoR2.EquipmentSlot:FixedUpdate()
kking117 commented 10 months ago

Pushed an update that should hopefully fix it.

LordVGames commented 10 months ago

Yep, the update fixed it. The projectile shield works now.