Create

Create

86M Downloads

Gantry Contraption crashing (Server side)

Lucasmellof opened this issue ยท 3 comments

commented

Describe the Bug

The method GantryContraptionEntity#applyLocalTransforms is being called on the server side, this shouldn't happen.

Reproduction Steps

  1. 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.

commented

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?

commented

Here:

public void applyLocalTransforms(PoseStack matrixStack, float partialTicks) { }

I didn't fix it before, because I didn't have time. But you need to annotate the method with @OnlyIn(Dist.CLIENT)

commented

This issue is happening at: #4553, #4404, #4304