Replace ingredient strings correctly

Fixes #1789
This commit is contained in:
TfT_02 2014-01-17 14:00:22 +01:00
parent 27ff545d46
commit 4e86f60fd2

View File

@ -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";
}