From 300148e0199b529b0c5992f0b304bb6415a3e067 Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Thu, 30 Apr 2015 14:38:54 +0100 Subject: [PATCH] Fixed the check for the petite flower recipe being wrong. Closes #847 --- src/main/java/vazkii/botania/api/recipe/RecipeMiniFlower.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/vazkii/botania/api/recipe/RecipeMiniFlower.java b/src/main/java/vazkii/botania/api/recipe/RecipeMiniFlower.java index 30b0b314a..a164a3c30 100644 --- a/src/main/java/vazkii/botania/api/recipe/RecipeMiniFlower.java +++ b/src/main/java/vazkii/botania/api/recipe/RecipeMiniFlower.java @@ -23,6 +23,7 @@ public class RecipeMiniFlower extends RecipeManaInfusion { @Override public boolean matches(ItemStack stack) { String key = BotaniaAPI.internalHandler.getStackSubTileKey(stack); + String input = this.input instanceof String ? (String) this.input : BotaniaAPI.internalHandler.getStackSubTileKey((ItemStack) this.input); return key != null && key.equals(input); }