mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 06:38:56 +00:00
@@ -146,7 +146,7 @@ public class BRecipe {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
Brew.PotionColor.valueOf(getColor());
|
||||
Brew.PotionColor.fromString(getColor());
|
||||
} catch (IllegalArgumentException e) {
|
||||
P.p.errorLog("Invalid Color '" + color + "' in Recipe: " + getName(5));
|
||||
return false;
|
||||
@@ -263,7 +263,7 @@ public class BRecipe {
|
||||
|
||||
Brew brew = new Brew(uid, bIngredients, quality, distillruns, getAge(), wood, getName(5), false, false, true, 0);
|
||||
|
||||
Brew.PotionColor.valueOf(getColor()).colorBrew(potionMeta, potion, false);
|
||||
Brew.PotionColor.fromString(getColor()).colorBrew(potionMeta, potion, false);
|
||||
potionMeta.setDisplayName(P.p.color("&f" + getName(quality)));
|
||||
if (!P.use1_14) {
|
||||
// Before 1.14 the effects duration would strangely be only a quarter of what we tell it to be
|
||||
|
||||
Reference in New Issue
Block a user