diff --git a/src/main/java/amerifrance/guideapi/page/reciperenderer/ShapedOreRecipeRenderer.java b/src/main/java/amerifrance/guideapi/page/reciperenderer/ShapedOreRecipeRenderer.java index ee8004e3..b998d506 100644 --- a/src/main/java/amerifrance/guideapi/page/reciperenderer/ShapedOreRecipeRenderer.java +++ b/src/main/java/amerifrance/guideapi/page/reciperenderer/ShapedOreRecipeRenderer.java @@ -45,7 +45,7 @@ public void draw(Book book, CategoryAbstract category, EntryAbstract entry, int if (component != null) { if (component instanceof ItemStack) { ItemStack input = (ItemStack) component; - if (input.getItemDamage() == OreDictionary.WILDCARD_VALUE) + if (input.getItem() != null && input.getItemDamage() == OreDictionary.WILDCARD_VALUE) input.setItemDamage(0); GuiHelper.drawItemStack((ItemStack) component, stackX, stackY);