From 4e86f60fd20aecd97f3ce388d0eafe14cf3d08e1 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 17 Jan 2014 14:00:22 +0100 Subject: [PATCH] Replace ingredient strings correctly Fixes #1789 --- .../java/com/gmail/nossr50/skills/alchemy/AlchemyManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyManager.java b/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyManager.java index ef37975ac..e28b24d8d 100644 --- a/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyManager.java +++ b/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyManager.java @@ -72,10 +72,10 @@ public class AlchemyManager extends SkillManager { String list = ""; for (ItemStack ingredient : getIngredients()) { String string = StringUtils.getPrettyItemString(ingredient.getType()) + (ingredient.getDurability() != 0 ? ":" + ingredient.getDurability() : ""); - if (string.equals("LONG_GRASS:2")) { + if (string.equals("Long Grass:2")) { string = "Fern"; } - else if (string.equals("RAW_FISH:3")) { + else if (string.equals("Raw Fish:3")) { string = "Pufferfish"; }