change loadLore() to a more generic loadQualityStringList()

This commit is contained in:
Sebi
2020-05-08 12:17:58 +02:00
parent 5cc7116aee
commit d3da0dbe14
2 changed files with 9 additions and 6 deletions
@@ -79,7 +79,7 @@ public class BCauldronRecipe {
}
List<Tuple<Integer,String>> lore = BRecipe.loadLore(cfg, id + ".lore");
List<Tuple<Integer,String>> lore = BRecipe.loadQualityStringList(cfg, id + ".lore");
if (lore != null && !lore.isEmpty()) {
recipe.lore = lore.stream().map(Tuple::second).collect(Collectors.toList());
}