blockName = "redstone";
} else {
blockName = e.getBlockMined().getType().name().toLowerCase().replace("_ore", "");
}
String color = ob.getConfig().getString("colors." + blockName, "white").toUpperCase();
<BUG>ChatColor oreColor = ChatColor.valueOf(color);
plugin.logDebug("onOreBroadcastEvent caught");</BUG>
for (PurpleBot ircBot : plugin.ircBots.values()) {
<BUG>ircBot.gameOreBroadcast(e.getSource(), blockName, oreColor, e.getVein(), e.getBlockMined().getLocation());
</BUG>
}

blockName = "redstone";
} else {
blockName = e.getBlockMined().getType().name().toLowerCase().replace("_ore", "");
