From c5970e924635d61e0ceb83c553521a7e294e7467 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 21 Mar 2016 14:42:57 -0400 Subject: [PATCH] Ensure NETHER_WARTS are renamed to NETHER_STALK --- src/util/java/mcMMO/PotionConfigGenerator.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/java/mcMMO/PotionConfigGenerator.java b/src/util/java/mcMMO/PotionConfigGenerator.java index ccd6c26f1..6a5977671 100644 --- a/src/util/java/mcMMO/PotionConfigGenerator.java +++ b/src/util/java/mcMMO/PotionConfigGenerator.java @@ -62,6 +62,9 @@ public class PotionConfigGenerator { this.mat = type; this.baseName = baseName; this.name = "POTION_OF_" + baseName; + if(mat == Material.NETHER_WARTS){ + this.mat = Material.NETHER_STALK; + } if (mat == Material.SPLASH_POTION) { this.name = "SPLASH_" + this.name; } @@ -357,7 +360,7 @@ public class PotionConfigGenerator { case WATER : assert(!current.data.isExtended()); assert(!current.data.isUpgraded()); - children.put(new Ingredient(Material.NETHER_WARTS), new WriteablePotion(current.mat, PotionType.AWKWARD)); + children.put(new Ingredient(Material.NETHER_STALK), new WriteablePotion(current.mat, PotionType.AWKWARD)); children.put(new Ingredient(Material.FERMENTED_SPIDER_EYE), new WriteablePotion(current.mat, PotionType.WEAKNESS)); children.put(new Ingredient(Material.REDSTONE), new WriteablePotion(current.mat, PotionType.MUNDANE)); children.put(new Ingredient(Material.GLOWSTONE_DUST), new WriteablePotion(current.mat, PotionType.THICK));