Implemented Custom Lore

This commit is contained in:
Sn0wStorm
2019-10-21 12:44:26 +02:00
parent 4909e59c90
commit 2d3e5dfbac
9 changed files with 534 additions and 71 deletions
+2
View File
@@ -490,6 +490,7 @@ public class Brew {
currentRecipe = recipe;
quality = calcQuality();
lore.updateCustomLore();
lore.addOrReplaceEffects(getEffects(), quality);
potionMeta.setDisplayName(P.p.color("&f" + recipe.getName(quality)));
PotionColor.fromString(recipe.getColor()).colorBrew(potionMeta, slotItem, canDistill());
@@ -559,6 +560,7 @@ public class Brew {
currentRecipe = recipe;
quality = calcQuality();
lore.updateCustomLore();
lore.addOrReplaceEffects(getEffects(), quality);
potionMeta.setDisplayName(P.p.color("&f" + recipe.getName(quality)));
PotionColor.fromString(recipe.getColor()).colorBrew(potionMeta, item, canDistill());