mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-20 23:49:21 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d049430007 | ||
|
|
0d20247aa1 | ||
|
|
a9ed6d23cc | ||
|
|
38cf28faa9 | ||
|
|
f7a77351c7 | ||
|
|
28075b9ace | ||
|
|
4ce594c7ee | ||
|
|
18a793de8d | ||
|
|
f31ae82e61 | ||
|
|
4616fa0d88 | ||
|
|
16dd116151 | ||
|
|
d4451542d8 |
@@ -37,7 +37,7 @@ allprojects {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("com.willfp:eco:6.53.0")
|
||||
compileOnly("com.willfp:eco:6.55.0")
|
||||
compileOnly("org.jetbrains:annotations:23.0.0")
|
||||
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.7.10")
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@ import com.willfp.eco.util.SkullUtils
|
||||
import com.willfp.eco.util.StringUtils
|
||||
import com.willfp.eco.util.formatEco
|
||||
import com.willfp.eco.util.toJSON
|
||||
import com.willfp.libreforge.ItemProvidedHolder
|
||||
import com.willfp.libreforge.ProvidedHolder
|
||||
import com.willfp.reforges.ReforgesPlugin
|
||||
import com.willfp.reforges.reforges.ReforgeTargets
|
||||
import com.willfp.reforges.util.reforge
|
||||
@@ -111,7 +113,9 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
|
||||
|
||||
|
||||
if (player != null) {
|
||||
val lines = reforge.conditions.getNotMetLines(player).map { Display.PREFIX + it }
|
||||
val provided = ItemProvidedHolder(reforge, itemStack)
|
||||
|
||||
val lines = reforge.conditions.getNotMetLines(player, provided).map { Display.PREFIX + it }
|
||||
|
||||
if (lines.isNotEmpty()) {
|
||||
lore.add(Display.PREFIX)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#libreforge-updater
|
||||
#Wed Mar 29 15:46:54 BST 2023
|
||||
#Tue Apr 25 13:12:59 BST 2023
|
||||
kotlin.code.style=official
|
||||
libreforge-version=4.0.0
|
||||
version=6.0.0
|
||||
libreforge-version=4.5.0
|
||||
version=6.5.0
|
||||
|
||||
Reference in New Issue
Block a user