Fix for ghost items showing in player inventories