mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-26 10:29:21 +00:00
Updated libreforge
This commit is contained in:
@@ -62,7 +62,7 @@ allprojects {
|
||||
|
||||
dependencies {
|
||||
compileOnly 'com.willfp:eco:6.34.0'
|
||||
implementation 'com.willfp:libreforge:3.44.2'
|
||||
implementation 'com.willfp:libreforge:3.44.3'
|
||||
|
||||
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.willfp.ecoarmor.display
|
||||
|
||||
import com.willfp.eco.core.EcoPlugin
|
||||
import com.willfp.eco.core.display.Display
|
||||
import com.willfp.eco.core.display.DisplayModule
|
||||
import com.willfp.eco.core.display.DisplayPriority
|
||||
import com.willfp.eco.core.fast.FastItemStack
|
||||
@@ -63,9 +64,9 @@ class ArmorDisplay(plugin: EcoPlugin) : DisplayModule(plugin, DisplayPriority.LO
|
||||
|
||||
if (player != null) {
|
||||
val lines = if (ArmorUtils.isAdvanced(meta)) {
|
||||
set.advancedHolder.getNotMetLines(player)
|
||||
set.advancedHolder.getNotMetLines(player).map { Display.PREFIX + it }
|
||||
} else {
|
||||
set.regularHolder.getNotMetLines(player)
|
||||
set.regularHolder.getNotMetLines(player).map { Display.PREFIX + it }
|
||||
}
|
||||
|
||||
if (lines.isNotEmpty()) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#libreforge-updater
|
||||
#Sun May 15 14:28:06 BST 2022
|
||||
version=7.59.2
|
||||
version=7.59.3
|
||||
plugin-name=EcoArmor
|
||||
|
||||
Reference in New Issue
Block a user