GC-spigot / AdvancedEnchantments

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

Is there an inbuilt method to check if an item already has an enchant of the same level or below? and to not apply if so. #4327

Closed TheRealBlitz closed 1 month ago

TheRealBlitz commented 1 month ago

Describe the bug

Is there an inbuilt method to check if an item already has an enchant of the same level or below? and to not apply if so.

How to reproduce

Question

Screenshots / Videos

No response

"/ae plinfo" link

N/A

Server Log

No response

ThomasWega commented 1 month ago

getEnchantmentsOnItem in AEAPI class and check yourself