Gantry Contraption crashing (Server side)
Lucasmellof opened this issue ยท 3 comments
Describe the Bug
The method GantryContraptionEntity#applyLocalTransforms
is being called on the server side, this shouldn't happen.
Reproduction Steps
- Create a gantry contraption.
Expected Result
Not to crash
Screenshots and Videos
No response
Crash Report or Log
crash-2023-03-13_16.45.48-server.txt
Operating System
Ubuntu and Windows 11
Mod Version
0.5.0i
Minecraft Version
1.19.2
Forge Version
43.2.0
Other Mods
No response
Additional Context
It's an easy fix, annotate the method with @OnlyIn(Dist.CLIENT)
, just like its parent class.
Hey! I'm trying to figure out where exactly this method is. Can you post where exactly this method is so I can make the fix?
Here:
I didn't fix it before, because I didn't have time. But you need to annotate the method with @OnlyIn(Dist.CLIENT)