Some changes to the Quality StringParser

This commit is contained in:
Sn0wStorm
2020-11-09 16:14:20 +01:00
parent 9553aa9fce
commit 390f7fe765
4 changed files with 45 additions and 78 deletions
@@ -103,7 +103,7 @@ public class BCauldronRecipe {
}
List<Tuple<Integer,String>> lore = BRecipe.loadQualityStringList(cfg, id + ".lore", StringParser.loreParser);
List<Tuple<Integer,String>> lore = BRecipe.loadQualityStringList(cfg, id + ".lore", StringParser.ParseType.LORE);
if (lore != null && !lore.isEmpty()) {
recipe.lore = lore.stream().map(Tuple::second).collect(Collectors.toList());
}