return;
}
//check if block is specified and if so, count it!
for (String item_value : blocks) {
dMaterial mat = dMaterial.valueOf(item_value);
if (event.getItem().getItemStack().getType() == mat.getMaterial() &&
event.getItem().getItemStack().getData().equals(mat.getMaterialData())){
//If the specific item has been collected before, dont count it
if (itemsCollected.contains(event.getItem().getEntityId()))
return;
else itemsCollected.add(event.getItem().getEntityId());