Artifacts enchants not working on MMOItems.
Open
Artifacts enchants not working on MMOItems.
Describe the bug A clear and concise description of what the bug is. The enchants option does not apply MM artifacts enchants. It was accepting it as a valid enchant, and the gui showed it there, but item lore did not show it, the enchant shimmer was not shown, and the enchant did not take effect when the item was used.
To Reproduce Steps to reproduce the behavior: Add a MMA enchant through the gui.
Expected behavior Enchant would appear in item lore, have the enchant shimmer, and apply the enchant as neccesary.
Server info:
-
Spigot Build & Version paper 343
-
Plugin Version mmoitems 5.5 MA0.1.3
-
Potential plugins linked to the issue MA MMOItems
Additional context Dagger YML https://pastebin.com/yfwNsTjU
Created by: Indyuce
Enchantment display is done client side. Since these enchants are not vanilla enchantments, Spigot does recognize them because they were registered by an extra plugin but they cannot display because the client can't find the corresponding local translation.
If the enchant is applied however (like if the item has the glow effect even without the enchant displaying in the lore), it's most likely not due to MI if the enchant does not work.
The only way to fix that is to have the enchant display manually using the item lore. Handling automatic display on our end could be a thing but that would require a lot of changes (planned for MMOItems 6).