Fixed validation feedback message for Chimaera Wing recipe cost

Fixes #1703
This commit is contained in:
TfT_02 2013-12-15 22:25:15 +01:00
parent 6c2b1f555f
commit 4b402d9837
2 changed files with 1 additions and 4 deletions

View File

@ -109,7 +109,7 @@ public class Config extends AutoUpdateConfigLoader {
}
if (getChimaeraRecipeCost() < 1 || getChimaeraRecipeCost() > 9) {
reason.add("Items.Chimaera_Wing.Recipe_Cost only accepts values from 1 to 64!");
reason.add("Items.Chimaera_Wing.Recipe_Cost only accepts values from 1 to 9!");
}
if (getChimaeraItem() == null) {

View File

@ -164,9 +164,6 @@ public final class ChimaeraWing {
public static ShapelessRecipe getChimaeraWingRecipe() {
Material ingredient = Config.getInstance().getChimaeraItem();
int amount = Config.getInstance().getChimaeraRecipeCost();
if (amount < 1 || amount > 9) {
amount = 9;
}
ShapelessRecipe chimeraWing = new ShapelessRecipe(getChimaeraWing(1));
chimeraWing.addIngredient(amount, ingredient);