fixed blacklist functionality by adding toString() when checking
material types in onItemPickup() and onInventoryClose()