Show stars in lore according to quality

This commit is contained in:
Sn0wStorm
2019-10-21 20:39:31 +02:00
parent 185f3d9b9b
commit 7a6e361a8c
2 changed files with 34 additions and 7 deletions
+3
View File
@@ -374,6 +374,7 @@ public class Brew {
if (ageTime >= 1) {
lore.updateAgeLore(false);
}
lore.updateQualityStars(false);
lore.write();
item.setItemMeta(meta);
}
@@ -507,6 +508,7 @@ public class Brew {
if (BConfig.colorInBrewer != BrewLore.hasColorLore(potionMeta)) {
lore.convertLore(BConfig.colorInBrewer);
}
lore.updateQualityStars(BConfig.colorInBrewer);
}
lore.updateDistillLore(BConfig.colorInBrewer);
lore.write();
@@ -585,6 +587,7 @@ public class Brew {
if (BConfig.colorInBarrels && !unlabeled && currentRecipe != null) {
lore.updateWoodLore(true);
}
lore.updateQualityStars(BConfig.colorInBarrels);
}
lore.write();
touch();