mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 06:38:56 +00:00
change loadLore() to a more generic loadQualityStringList()
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user