That's a nice solution for validating enchantments, thanks for the code snippet. Has anyone seen any items with illegal attributes as well? I think Spigot filters attributes nowadays, but I've been out of the loop for a while so I'm not sure.
I've seen quite a few items with attributes, so that would need to be taken care of as well ;w;
Alright, I'll look into filtering attributes as well.
Please log in if you want to reply to topics.