mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 11:44:42 +02:00
Validate config.yml settings
This commit is contained in:
@ -160,7 +160,7 @@ public final class ChimaeraWing {
|
||||
public static ShapelessRecipe getChimaeraWingRecipe() {
|
||||
Material ingredient = Material.getMaterial(Config.getInstance().getChimaeraItemId());
|
||||
int amount = Config.getInstance().getChimaeraRecipeCost();
|
||||
if (amount > 9) {
|
||||
if (amount < 1 || amount > 9) {
|
||||
amount = 9;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user