Fixed the check for the petite flower recipe being wrong. Closes #847

This commit is contained in:
Lizbeth Rika committed 2015-04-30 14:38:54 +01:00
1 parent 4ac408dc3e
commit 300148e019
1 file changed
+1
@@ -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);
}