Fixed show-not-met

This commit is contained in:
Auxilor 2023-05-17 16:19:56 +01:00
parent 6f1a5550d6
commit ca9a5dac34

View File

@ -82,7 +82,7 @@ class EnchantDisplay(private val plugin: EcoEnchantsPlugin) : DisplayModule(plug
val enchantNotMetLines = enchantLevel.conditions.getNotMetLines(player, holder).map { Display.PREFIX + it }
notMetLines.addAll(enchantNotMetLines)
if (enchantNotMetLines.isNotEmpty()) {
if (enchantNotMetLines.isNotEmpty() || enchantLevel.conditions.isShowingAnyNotMet(player, holder)) {
showNotMet = true
}
}