[Bug] Infinite casts for spell
Zanckor opened this issue ยท 2 comments
Observed behaviour
If player cast a scroll/spell and instead of releasing the right click, if player switches slot and releases the right click, the spell won't consume.
Expected behaviour
Once player change slot, if was being casted (and effect was used) remove the item from inventory.
Steps to reproduce
- Charge a scroll
- With keyboard or scrolling the mouse wheel, change the slot to another slot.
Server Type
Dedicated Server
Crashlog
No response
Iron's Spells N Spellbooks version
1.20.1-1.2.1
Forge version
1.20.1-47.1.44
Other mods
No response