Change only the rate of listed items.

I realize this with the following modifications.

if ((blockedItemsList.Contains(item.itemDef.shortname))) return;

if (!(blockedItemsList.Contains(item.itemDef.shortname))) return;