Fix server-crash with non-existing items.

I wouldn't limit the item type to valid blocks and items, those will still receive the generic handler, so there's no harm in allowing them here, and it allows MCS to let plugins handle the items to some degree.