railcraft-reborn / railcraft

Redefine your rails
Other
93 stars 24 forks source link

Switch track bug on diagonal tracks #184

Closed greeeen-dev closed 3 months ago

greeeen-dev commented 8 months ago

Is there an existing issue for this?

Description of the Bug

When attempting to create a switch track with a spike maul, the curved track next to the switch track becomes a straight track, disconnecting it from the diverging line.

Track layout before switch track: 2024-02-24_22 44 26

Track layout after, version 1.0.2: 2024-02-24_22 44 38

Track layout after, version 1.0.10: 2024-02-24_22 46 19

I was able to replace the curved track after adding the switch track to get around this bug, however it appears that this only works in a certain direction (I need to check if it was west/east or north/south).

Railcraft Reborn version

1.0.10

NeoForge/Forge version

47.1.46

Minecraft version

1.20.1

Minecraft server

No

To Reproduce

  1. Lay down any track in the same layout as shown in the first screenshot.
  2. Add a switch track using a spike maul to connect the main line to the diverging line.

Expected behavior

Curved track remains unchanged and connected to the switch track, just like in 1.0.2.

Logs & Environment

No response

Screenshots & Video

No response

Edivad99 commented 7 months ago

Try with this and tell me if the bug is still present https://github.com/railcraft-reborn/railcraft/actions/runs/8132412102/artifacts/1293106939

greeeen-dev commented 7 months ago

Works properly with the patch in all four directions :+1: 2024-03-03_23 39 51