// Bypass stupidity
ItemStack var10;
if (MaterialData.getCustomItems().length == 0) {
var10 = new ItemStack(Item.flint);
} else {
CustomItem cItem = MaterialData.getCustomItems()[0];
var10 = new ItemStack(cItem.getRawId(), 1, cItem.getRawData());
}
// End of stupidity
itemRenderer.renderItemIntoGUI(this.fontRenderer, this.mc.getTextureManager(), var10, var7, var8);
itemRenderer.renderItemOverlayIntoGUI(this.fontRenderer, this.mc.getTextureManager(), var10, var7, var8);
GL11.glDisable(GL11.GL_LIGHTING);