GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
138 stars 61 forks source link

Grindstone weird interaction with Enchanted Books with only custom enchantments #4318

Closed ArmonicPvP closed 2 weeks ago

ArmonicPvP commented 1 month ago

Describe the bug

When using enchanted books as the item for custom enchantment books and putting that into a grindstone with only the custom enchantment on it, you will not get any XP, and the resulting item is just a book with the name "Enchanted Book" (which is the name I have set in the config for it)

How to reproduce

enchantment-book:
  # If true, books can be applied to items in anvils.
  anvil-application: true
  # If true, books can be applied to items by dragging and dropping them on the item in an inventory.
  drag-drop-application: true
  item:
    type: ENCHANTED_BOOK
    id: 0
    custom-model-data: 0
    force-glow: false
  # Variables: %enchant%, %enchant-no-color%, %description%, %level-description%, %applies%, %success%, %destroy%, %color%, %max-level%
  name: '&eEnchanted Book'
  lore:
  - '%group-color%%enchant-no-color% %level%

Screenshots / Videos

2024-05-24_18 56 04

2024-05-24_18 56 06

2024-05-24_18 57 14

"/ae plinfo" link

https://paste.md-5.net/banopofotu

Server Log

No response

ThomasWega commented 1 month ago

What is the expected result? What should we change exactly?

ArmonicPvP commented 4 weeks ago

What is the expected result? What should we change exactly?

expected result is that it turns into a regular book that isn't named and gives back EXP

ThomasWega commented 2 weeks ago

Will be fixed in the next update