Electroblob77 / Wizardry

Source code for Electroblob's Wizardry, a Minecraft mod about magic, exploration and adventure. Open-source so other aspiring wizards (a.k.a. programmers 😎) can see the real magic! ✨ Just want to download and play? Head over to the CurseForge page via the link below:
https://minecraft.curseforge.com/projects/electroblobs-wizardry
Other
201 stars 106 forks source link

Fixed a crash when switching spells #839

Closed ArchiDreamZ closed 8 months ago

ArchiDreamZ commented 1 year ago

Switching spells causes ArrayIndexOutOfBoundsException: -1 when the next spell is empty.I made a simple fix