Auxilor / libreforge

Powerful yaml-based 'scripting' library for spigot
https://plugins.auxilor.io/effects/configuring-an-effect
Other
52 stars 46 forks source link

Ecoenchants + ecoitems-custom enchant bug #32

Open KermX opened 2 years ago

KermX commented 2 years ago

Describe the bug This bug is an interaction between ecoitems and ecoenchants. I assume it's caused by ecoitems loading before custom enchants from ecoenchants or something to that effect. But if you put a custom enchant on an ecoitem upon server restart the custom enchant will not appear on the item unless you reload ecoitems

To Reproduce Steps to reproduce the behavior:

  1. Create a custom enchant in customenchants.yml
  2. Create an ecoitem with said custom enchants
  3. Restart server
  4. Give yourself ecoitem via command (I haven't tested crafting but I assume it would be same)
  5. Observe that ecoitem doesn't have the enchantment

Expected behavior The enchantment should be on the item

Server Information (please complete the following information):

KermX commented 1 year ago

Update: Bug still exists on latest versions.