mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Updated libreforge
This commit is contained in:
parent
c5963510ec
commit
2f1bd188e7
@ -3,6 +3,6 @@ version rootProject.version
|
||||
|
||||
subprojects {
|
||||
dependencies {
|
||||
implementation 'com.willfp:libreforge:3.44.2'
|
||||
implementation 'com.willfp:libreforge:3.44.3'
|
||||
}
|
||||
}
|
||||
|
@ -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)) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user