Marium's Soulslike Weaponry

Marium's Soulslike Weaponry

11M Downloads

[BUG] Mod's keybinds on Forge are incompatible with mouse buttons

Jakecaru opened this issue ยท 1 comments

commented

Minecraft: 1.20.1
Forge: 47.3.11 - 47.4.0
Soulslike-Weaponry: 1.1.5 and 1.2.2

Describe the bug
I was using this mod in a modpack I made and found out that mapping any of the keybinds on my extra mouse buttons didn't work once you press it. It only works after you moved (or jump), making it a bit inconvenient to use any of them without a keypress. I've tested both the Forge and Fabric versions by themselves and found that it's only limited to being a problem with the Forge version.

To Reproduce
Steps to reproduce the behavior:

  1. Install the Forge version of 'Soulslike-Weaponry'.
  2. When you're in the game, go to 'Controls' and set any of the mod's buttons on any mouse button.
  3. Use them and then move (or jump) to see error.
commented

Alright I think I've fixed it by checking at the end of the client tick just like in fabric.