nickguletskii/CustomCrafting — Issue #3: copypaste-bug in CustomCrafting.java:186
Author: Firni
Created: 2012-02-21 22:58:54+00:00
State: open

starting from line 179:

if (hm.containsKey("ResultData") && hm.containsKey("ResultDamage")) {
sr = new ShapelessRecipe(new ItemStack(resultID, resultQuantity,
((Integer) hm.get("ResultDamage")).shortValue(),
((Integer) hm.get("ResultData")).byteValue()));
} else if (hm.containsKey("ResultDamage")) {
sr = new ShapelessRecipe(new ItemStack(resultID, resultQuantity,
((Integer) hm.get("ResultDamage")).shortValue()));
} else if (hm.containsKey("ResultDamage")) { // <- copypaste bug
sr = new ShapelessRecipe(new ItemStack(resultID, resultQuantity,
((Integer) hm.get("ResultData")).byteValue()));
} else {
sr = new ShapelessRecipe(new ItemStack(resultID, resultQuantity));
}

should be:

} else if (hm.containsKey("ResultData")) {