ringosham / ToggleSneak

The OG ToggleSneak mod
https://www.curseforge.com/minecraft/mc-mods/togglesneak/
MIT License
1 stars 0 forks source link

Toggle sprint stops working when switching items while using #12

Closed ringosham closed 3 years ago

ringosham commented 3 years ago

Toggle sprint will occasionally stops working for no reason. While I have experienced this bug, I cannot reliably replicate the issue, making debugging extremely difficult.

ringosham commented 3 years ago

The bug occurs when players switch to another item while using it. Using an item refers to eating, bow drawing, drinking potions, shielding, or anything that requires holding right click

ringosham commented 3 years ago

It seems Forge doesn't have an event where the player switches to another item while using it. Essentially stopping without triggering any of the Forge events, causing the feature to fail.