Client Gun Crash
TheFallenChaos opened this issue ยท 4 comments
Describe the bug
A crash that occurs because of the firing of the Medium Naval Canon
To Reproduce
Steps to reproduce the behavior:
- Place down "Medium Navel Gun"
- Load it as you should
- Fire it
Expected behavior
It should have fired the projectile (configs were untouched), the projectile would then come into contact with packed ice.
Mod Version
oldguns-1.19-3.6.1-33
Additional context
We're unsure why this is happening, this says nothing in our server console we are using to test the mod on, only that the crashed player is disconnecting.
Do you have a client log or log of any type containing this message? Sometimes mixins/patches from some mods can have a hard-to-trace interaction with other mods; you can sometimes ascertain what mod is causing issues by the list of mixins in the log.
copy pasta from another issue entry (but with the same problem):
One of my friends fixed this issue.
If i understood it correctly the mod already includes the code to stop distant clients from trying to render the bullets (which crashes the client when this chunks aren't loaded).
The error in the code is that the distance is entered wrong (the Minecraft documentation includes a wrong statement, so its not the creators fault (can't remember exactly, but something like if the value is already squared or not)).
i'll include the edited version we used (and tested successfully). Maybe the creator of the mod can later include the fix in an official version.