From 4b402d9837580fd72103d58d89dba3482f5f5ca2 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Sun, 15 Dec 2013 22:25:15 +0100 Subject: [PATCH] Fixed validation feedback message for Chimaera Wing recipe cost Fixes #1703 --- src/main/java/com/gmail/nossr50/config/Config.java | 2 +- src/main/java/com/gmail/nossr50/util/ChimaeraWing.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/Config.java b/src/main/java/com/gmail/nossr50/config/Config.java index ab56295d4..1af6e6692 100644 --- a/src/main/java/com/gmail/nossr50/config/Config.java +++ b/src/main/java/com/gmail/nossr50/config/Config.java @@ -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) { diff --git a/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java b/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java index 1db7a024f..f8e4e3909 100644 --- a/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java +++ b/src/main/java/com/gmail/nossr50/util/ChimaeraWing.java @@ -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);