mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-23 17:09:32 +00:00
Fixed not met line display
This commit is contained in:
@@ -119,11 +119,11 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
|
|||||||
|
|
||||||
|
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
val lines = reforge.getNotMetLines(player)
|
val lines = reforge.getNotMetLines(player).map { Display.PREFIX + it }
|
||||||
|
|
||||||
if (lines.isNotEmpty()) {
|
if (lines.isNotEmpty()) {
|
||||||
lore.add("")
|
lore.add(Display.PREFIX)
|
||||||
lore.addAll(lines.map { Display.PREFIX + it })
|
lore.addAll(lines)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#libreforge-updater
|
#libreforge-updater
|
||||||
#Sun May 15 14:27:17 BST 2022
|
#Sun May 15 14:27:17 BST 2022
|
||||||
version=4.71.3
|
version=4.71.4
|
||||||
plugin-name=Reforges
|
plugin-name=Reforges
|
||||||
|
|||||||
Reference in New Issue
Block a user