Updated libreforge

This commit is contained in:
Auxilor 2022-05-16 13:15:43 +01:00
parent c5963510ec
commit 2f1bd188e7
3 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,6 @@ version rootProject.version
subprojects {
dependencies {
implementation 'com.willfp:libreforge:3.44.2'
implementation 'com.willfp:libreforge:3.44.3'
}
}

View File

@ -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)) {

View File

@ -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