That patch should prevent the crash, but it might be best to just move MakeItemLink() to Mob:: instead of Client::, so they can be generated by NPCs as well without requiring a client. We would still probably want to check for initiator to be safe, but it would allow for more flexibility.
|