TeamOpenIndustry / ImmersiveRailroading

GNU Lesser General Public License v2.1
226 stars 72 forks source link

Unmounting sets players on surface #1134

Open olol5620 opened 2 years ago

olol5620 commented 2 years ago

Describe the bug
When unmounting a Loc, the player gets not placed to the right or left site, directly near the loc, instead he is teleported to highest Y Level. Resulting in, when unmounting in a tunnel being on top of the mountain.

How to reproduce
Unmount in a tunnel or something with a roof

  1. Go to ...
  2. Do ...
  3. ...

Expected behavior
The player should get placed on the side of the loc. If there is no place, he should get placed in front or behind the loc. If there is still no place, the the player should get suffocate in the wall or something like this

Screenshots

System Information
OS: ubuntu 21.04
System Memory: 20GB
Allocated Memory: 11488MB
CPU: Ryzen 1700X virtualized 14x3.9Ghz
GPU: Nvidia RTX 2060 6GB
IR-Version: 1.16.5-forge-1.9.1
Forge-Version: 1.16.5-forge-36.2.20

Modlist
https://pastebin.com/vstyg26L

latest.log https://pastebin.com/wY4wGZYi

olol5620 commented 2 years ago

To clarify: This bug only occurs when there is no clear space on the side of the train. I also propose the player could get placed crouching on the side of the train, there should almost always be place for him

km00700 commented 2 years ago

you need to walk to the side of the train to dismount off that side

olol5620 commented 2 years ago

Thank you, for your tip! But I still consider, teleporting to the surface a bug