crashtheparty / EnchantmentSolution

Enchantment plugin for Custom Enchantments.
15 stars 14 forks source link

[Bug] Ability to change enchantments repeatadly unlimited times. (Unsure if bug or intended feature) #114

Open AZFire1 opened 4 years ago

AZFire1 commented 4 years ago

Describe the bug I've only tested this with chests in minecarts, which is why I'm mainly going to talk about the custom enchant books with chests in minecarts. The bug is bassically, if you find a chest in a minecart with naturally spawned enchanted books in it you can either repeatedly close & open the chest in the minecart with the book inside and you will notice that the enchanted book constantly changes, or you could add more random custom enchanted books that you have into the chest and do the same by closing and opening the chest and it will constantly roll the enchantments and give out a different set of custom enchants every time. I know this sounds confusing, which is why I made a small video showing it. I am using the default config.

Debug.yml https://pastebin.com/ve6GcWn8

To Reproduce Steps to reproduce the behavior:

  1. Find a naturally generated chest in a minecart that has custom enchant books.
  2. Open and close the chests inventory.
  3. Notice the custom enchant changes each time this happens.
  4. Add more custom enchant books and the same will happen.

Expected behavior For all the enchanted books to stay the same no matter how many times I open/close the chests inventory.

Video I wasn't allowed to upload the video, so I will send it via mega. You don't have to download anything, it should just load up with the video https://mega.nz/file/3EFRRKiR#D7AAiXXf1hbkp5qrvJesHmzZS8SRk_XYIkTmPbNyAPI

Additional context None

AZFire1 commented 4 years ago

Confirmed it happens with every contained and not just enchanted books. Even items with any enchant, it randomizes it.