Haha! One up to you good sir!
Changed some things around here's what i'm going with for right now!
Thank you guys! Much more responsive than the minecraft forums!
I will work on that next, but right now every time i wear the helmet and hold a bow i get this crash:
This is my updated code:
"if(player.getCurrentEquippedItem().getItem() instanceof ItemBow)" is the line of code it is having issues with
As the title says, i am trying to make this item. Here's my current code for it:
It "Kind of works". As it keeps enchanting the bow to the point where it looks like this then crashes:
How would i make it so it only enchants the item once?