Portal tracks do not work properly in the same dimension
slava110 opened this issue ยท 0 comments
Describe the Bug
Hi. I'm contributing to a mod about portals and I wanted to add Create mod compatibility to this mod. Compatibility works fine when you're teleporting between different dimensions. However, when I've tried to make portal pointing to the same dimension, 7 tracks in front of the portal got invalidated (you cannot place trains or stations on them). During investigation I've used track graph debugger and found out that graph is connecting from the middle of the track right to the second portal (screenshot).
Reproduction Steps
- Make a portal pointing to the same dimension (not different like nether or aether)
- Place track in front of the portal
- Graphs are merged without using portal
Expected Result
Graph should probably take into account existance of Portal and shouldn't connect straight to another side from the middle of the track
Screenshots and Videos
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.1f
Minecraft Version
1.20.1
Forge Version
47.2.20
Other Mods
SGJourney (mod I'm adding compatibility for)
Additional Context
No response