mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-21 16:09:20 +00:00
Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4270804b1b | ||
|
|
ce7922ebfd | ||
|
|
abf4b71271 | ||
|
|
6e388e0372 | ||
|
|
be8bdf6b48 | ||
|
|
3884a8859c | ||
|
|
d898448e35 | ||
|
|
115aa6af07 | ||
|
|
a3dd390dc4 | ||
|
|
23ac0ee77c | ||
|
|
b6dbb08a00 | ||
|
|
58eb7b482c | ||
|
|
6ca8bbe3ab | ||
|
|
6da6cb84f0 | ||
|
|
a60cf095c0 | ||
|
|
ef9cb40e36 | ||
|
|
eea580b3c7 | ||
|
|
36d0c4048d | ||
|
|
782b4b4fe4 | ||
|
|
55b259360a | ||
|
|
18adf6fce6 | ||
|
|
7f07c4805d | ||
|
|
4529de3711 | ||
|
|
c723384060 | ||
|
|
4f40b69d64 | ||
|
|
14af73dbe4 | ||
|
|
bbae779308 | ||
|
|
d049430007 | ||
|
|
0d20247aa1 | ||
|
|
a9ed6d23cc | ||
|
|
38cf28faa9 | ||
|
|
f7a77351c7 | ||
|
|
28075b9ace | ||
|
|
4ce594c7ee | ||
|
|
18a793de8d | ||
|
|
f31ae82e61 | ||
|
|
4616fa0d88 | ||
|
|
16dd116151 | ||
|
|
d4451542d8 |
1
.github/CODEOWNERS
vendored
Normal file
1
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* @WillFP
|
||||
@@ -37,7 +37,7 @@ allprojects {
|
||||
}
|
||||
|
||||
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.kotlin:kotlin-stdlib:1.7.10")
|
||||
}
|
||||
|
||||
@@ -11,9 +11,12 @@ dependencies {
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
register("maven", MavenPublication::class) {
|
||||
from(components["java"])
|
||||
register<MavenPublication>("maven") {
|
||||
groupId = project.group.toString()
|
||||
version = project.version.toString()
|
||||
artifactId = rootProject.name
|
||||
|
||||
artifact(rootProject.tasks.shadowJar.get().archiveFile)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
#Sun Jul 09 17:25:10 BST 2023
|
||||
kotlin.code.style=official
|
||||
libreforge-version=4.0.0
|
||||
version=6.0.0
|
||||
libreforge-version=4.22.0
|
||||
version=6.21.0
|
||||
|
||||
Reference in New Issue
Block a user