otland/forgottenserver — pull request #985 by djdamc (2014-09-13 16:35:47+00:00)
Title: Bugfix for crash caused by buying an item from an NPC

Fixes #883
Fixed bug caused by premature deletion of an item with a scripted onEquip move event when it was sold by an NPC and the appropriate equipment slot was empty.