mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2024-06-24 10:04:59 +02:00
Fix missing param in BCauldronRecipe.java
This commit is contained in:
parent
51cd582045
commit
54a939edad
|
@ -1,6 +1,7 @@
|
|||
package com.dre.brewery.recipe;
|
||||
|
||||
import com.dre.brewery.P;
|
||||
import com.dre.brewery.utility.StringParser;
|
||||
import com.dre.brewery.utility.Tuple;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Material;
|
||||
|
@ -79,7 +80,7 @@ public class BCauldronRecipe {
|
|||
}
|
||||
|
||||
|
||||
List<Tuple<Integer,String>> lore = BRecipe.loadQualityStringList(cfg, id + ".lore");
|
||||
List<Tuple<Integer,String>> lore = BRecipe.loadQualityStringList(cfg, id + ".lore", StringParser.loreParser);
|
||||
if (lore != null && !lore.isEmpty()) {
|
||||
recipe.lore = lore.stream().map(Tuple::second).collect(Collectors.toList());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user