Merge pull request #179 from Sataniel98/master

Add RGB colored potions
This commit is contained in:
Sn0wStorm
2019-08-17 21:50:30 +02:00
committed by GitHub
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