mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-10 19:27:36 +01: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;
|
package com.dre.brewery.recipe;
|
||||||
|
|
||||||
import com.dre.brewery.P;
|
import com.dre.brewery.P;
|
||||||
|
import com.dre.brewery.utility.StringParser;
|
||||||
import com.dre.brewery.utility.Tuple;
|
import com.dre.brewery.utility.Tuple;
|
||||||
import org.bukkit.Color;
|
import org.bukkit.Color;
|
||||||
import org.bukkit.Material;
|
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()) {
|
if (lore != null && !lore.isEmpty()) {
|
||||||
recipe.lore = lore.stream().map(Tuple::second).collect(Collectors.toList());
|
recipe.lore = lore.stream().map(Tuple::second).collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user