Add RGB colored potions

This commit is contained in:
Daniel Saukel
2019-03-05 20:55:52 +01:00
parent 13d13dcf72
commit edea97f9a2
4 changed files with 54 additions and 21 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ public class BIngredients {
Brew.addOrReplaceEffects(potionMeta, brew.getEffects(), brew.getQuality());
cookedName = cookRecipe.getName(quality);
Brew.PotionColor.valueOf(cookRecipe.getColor()).colorBrew(potionMeta, potion, false);
Brew.PotionColor.fromString(cookRecipe.getColor()).colorBrew(potionMeta, potion, false);
} else {
// new base potion