Geolykt / EnchantmentsPlus

Enchantments+, a Bukkit Custom Enchantments Plugin based on Zenchantments targetted at production grade servers
GNU General Public License v3.0
38 stars 14 forks source link

Disable enchantment books on anvil if the tool is not supported for this enchantment. #19

Closed Uboaaaaa closed 3 years ago

Uboaaaaa commented 3 years ago

I'd like to sell some zenchantment books in my smol SMP server so people can have fun with them. However soon after the shop's open for business, people had Anthropomorphism on chestplates, Fire on sword, Spread on shovel, Reaper on hoe and, for some reason, Stream on bucket.

So I think maybe add the check when applying enchantments on anvil, which disables enchanting if the tool type is unsupported for the enchantment?

Geolykt commented 3 years ago

This is actually a bug that should be fixed