Bren incompatibility
opened this issue · comments
Mod Name
Bren
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/bren
Minecraft version
1.20.1
Describe the bug
Weapons don't shoot
Steps to reproduce
- Use latest version of Connector and Bren mod
- Open any world
- Grab shotgun and shells (or any other weapons)
- load it with "r" button
- shoot it with right click. It will deplete shells, but not shoot
...
Logs
https://gist.github.com/Axi0L/b7517bc41c89a7ac3b797171bf4083b6
Additional context
No response
To add to this it seems like a server/client sync issue.
I am fairly certain of it (don't take me too seriously though, i only glanced at the code and tested the behaviour).
Shooting seemingly consumes ammo and plays the animation of the held item.
Yet, when removing ammo from weapon/unloading the weapon item and reloading it.
The weapon seems to not have lost any ammo from shooting.
So my bet is the packet sent to server to signify weapon being shot doesn't quite accomplish its task, everything that happens seems to be happening purely client side.