package techreborn.events;

import net.minecraft.item.ItemStack;
import net.minecraftforge.event.world.BlockEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import techreborn.items.ItemGems;
import techreborn.utils.OreDictUtils;

/**
 * Created by McKeever on 10/16/2016.
 */
public class BlockBreakHandler {

	@SubscribeEvent
	public void onBlockHarvest(BlockEvent.HarvestDropsEvent event) {
		for (ItemStack ore : event.getDrops()) {
			if (OreDictUtils.isOre(ore, "gemRuby")) {
				event.getDrops().add(ItemGems.getGemByName("redGarnet").copy());
			}
		}
	}
}

@@ -549,17 +549,18 @@
 ame(%22red
-G
+_g
 arnet%22).

Fix #836