diff --git a/eco-core/build.gradle b/eco-core/build.gradle index f6efc3cb..beeefa1d 100644 --- a/eco-core/build.gradle +++ b/eco-core/build.gradle @@ -3,6 +3,6 @@ version rootProject.version subprojects { dependencies { - implementation 'com.willfp:libreforge:3.44.2' + implementation 'com.willfp:libreforge:3.44.3' } } diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantDisplay.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantDisplay.java index 21c3f1cb..3de899fd 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantDisplay.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/display/EnchantDisplay.java @@ -29,6 +29,7 @@ import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; +import java.util.stream.Collectors; /** * All methods and fields pertaining to showing players the enchantments on their items. @@ -144,7 +145,7 @@ public class EnchantDisplay extends DisplayModule { if (player != null && enchantment instanceof EcoEnchant ecoEnchant) { if (ecoEnchant instanceof CustomEcoEnchant custom) { - requirementLore.addAll(custom.getLevel(level).getNotMetLines(player)); + requirementLore.addAll(custom.getLevel(level).getNotMetLines(player).stream().map(l -> Display.PREFIX + l).toList()); } if (!ecoEnchant.areRequirementsMet(player)) { diff --git a/gradle.properties b/gradle.properties index 37521bd6..a6b01c70 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ #libreforge-updater #Sun May 15 14:28:19 BST 2022 -version=8.66.2 +version=8.66.3 plugin-name=EcoEnchants