mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-25 15:35:11 +01:00
Fixed show-not-met
This commit is contained in:
parent
6f1a5550d6
commit
ca9a5dac34
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user