mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 00:45:27 +01:00
Ensure NETHER_WARTS are renamed to NETHER_STALK
This commit is contained in:
parent
538a0c5d6c
commit
c5970e9246
@ -62,6 +62,9 @@ public class PotionConfigGenerator {
|
|||||||
this.mat = type;
|
this.mat = type;
|
||||||
this.baseName = baseName;
|
this.baseName = baseName;
|
||||||
this.name = "POTION_OF_" + baseName;
|
this.name = "POTION_OF_" + baseName;
|
||||||
|
if(mat == Material.NETHER_WARTS){
|
||||||
|
this.mat = Material.NETHER_STALK;
|
||||||
|
}
|
||||||
if (mat == Material.SPLASH_POTION) {
|
if (mat == Material.SPLASH_POTION) {
|
||||||
this.name = "SPLASH_" + this.name;
|
this.name = "SPLASH_" + this.name;
|
||||||
}
|
}
|
||||||
@ -357,7 +360,7 @@ public class PotionConfigGenerator {
|
|||||||
case WATER :
|
case WATER :
|
||||||
assert(!current.data.isExtended());
|
assert(!current.data.isExtended());
|
||||||
assert(!current.data.isUpgraded());
|
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.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.REDSTONE), new WriteablePotion(current.mat, PotionType.MUNDANE));
|
||||||
children.put(new Ingredient(Material.GLOWSTONE_DUST), new WriteablePotion(current.mat, PotionType.THICK));
|
children.put(new Ingredient(Material.GLOWSTONE_DUST), new WriteablePotion(current.mat, PotionType.THICK));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user