Bug Report Crash issue on AcidSac.OnTarget

Discussion in 'JustUO Bug Reports' started by Gargouille, May 3, 2015.

  1. Gargouille

    Gargouille Illustrious Member Gold Star Member

    SAQuestItems.cs / AcidSac.OnTarget line 73

    Code:
    if (addoncomponent is MagicVinesComponent || addoncomponent is StoneWallComponent || addoncomponent is DungeonWallComponent)
    and then line 80&85 some tests on addoncomponent.Addon...

    these components are [constructable], so, if you have on your shard a GM as clumsy as I have, server will crash when targeting a component with Addon==null

    As I don't know if [constructable] on components is intentional, I propose

    Code:
    if (addoncomponent is MagicVinesComponent || addoncomponent is StoneWallComponent || addoncomponent is DungeonWallComponent && addoncomponent.Addon!=null)
     
    • Like Like x 1

Share This Page