mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-21 16:09:20 +00:00
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f07c4805d | ||
|
|
4529de3711 | ||
|
|
c723384060 | ||
|
|
4f40b69d64 | ||
|
|
14af73dbe4 | ||
|
|
bbae779308 | ||
|
|
d049430007 | ||
|
|
0d20247aa1 | ||
|
|
a9ed6d23cc | ||
|
|
38cf28faa9 | ||
|
|
f7a77351c7 | ||
|
|
28075b9ace | ||
|
|
4ce594c7ee | ||
|
|
18a793de8d | ||
|
|
f31ae82e61 | ||
|
|
4616fa0d88 | ||
|
|
16dd116151 | ||
|
|
d4451542d8 |
@@ -37,7 +37,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.willfp:eco:6.53.0")
|
compileOnly("com.willfp:eco:6.56.0")
|
||||||
compileOnly("org.jetbrains:annotations:23.0.0")
|
compileOnly("org.jetbrains:annotations:23.0.0")
|
||||||
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.7.10")
|
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.StringUtils
|
||||||
import com.willfp.eco.util.formatEco
|
import com.willfp.eco.util.formatEco
|
||||||
import com.willfp.eco.util.toJSON
|
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.ReforgesPlugin
|
||||||
import com.willfp.reforges.reforges.ReforgeTargets
|
import com.willfp.reforges.reforges.ReforgeTargets
|
||||||
import com.willfp.reforges.util.reforge
|
import com.willfp.reforges.util.reforge
|
||||||
@@ -111,7 +113,9 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
|
|||||||
|
|
||||||
|
|
||||||
if (player != null) {
|
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()) {
|
if (lines.isNotEmpty()) {
|
||||||
lore.add(Display.PREFIX)
|
lore.add(Display.PREFIX)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#libreforge-updater
|
#libreforge-updater
|
||||||
#Wed Mar 29 15:46:54 BST 2023
|
#Tue May 09 17:45:12 BST 2023
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
libreforge-version=4.0.0
|
libreforge-version=4.10.0
|
||||||
version=6.0.0
|
version=6.10.0
|
||||||
|
|||||||
Reference in New Issue
Block a user