This change fixes a zone crash that will occur if the #iteminfo command is used without an item on the user's cursor. When there is no item on the cursor, inst becomes a nullptr and the next instruction results in a nullptr dereference which crashes the zone process.
This change fixes a zone crash that will occur if the
#iteminfo
command is used without an item on the user's cursor. When there is no item on the cursor,inst
becomes anullptr
and the next instruction results in anullptr
dereference which crashes the zone process.