pablo67340 / GUIShop

A Virtual item shop for your Minecraft server!
GNU General Public License v3.0
41 stars 60 forks source link

Issue with Enchanted Books #41

Closed 2000game closed 4 years ago

2000game commented 4 years ago

When I try to sell Enchanted Books, the Books dont actually have the enchantment. Even after I bought them. I also tried using them in an anvil but that didnt work out either. When Ive bought the sword or the axe Im ablte to see the enchantment. Im on 1.15.2 Spigot. Enchanted: '0': type: SHOP id: ENCHANTED_BOOK buy-price: 6000.0 enchantments: EFFICIENCY:1 '1': type: SHOP id: DIAMOND_SWORD buy-price: 100 shop-lore:

GBadlon commented 4 years ago

For further bug tracing, I have tried this in 1.15.2,1.14.4 and 1.14

I have tried, adding the book with the guishop edit command and I have also tried adding it in the config, neither did anything but give a book that has an enchanting glow but nothing more.

phortx commented 4 years ago

Can reproduce with 1.15.2

phortx commented 4 years ago

I think the issue is that Bukkit differs between Entchantments and StoredEntchantments.

For the books there should be a stored-entchantments option for the shops.yml, I think.

pablo67340 commented 4 years ago

This will be implemented for 8.2