MrScautHD / Beyond-Earth

Fly to Other Planets and Beyond!
Other
46 stars 29 forks source link

`java.lang.NullPointerException: Cannot read field "hasClouds" because "this.planet" is null` in custom dimensions. #218

Open MarkusBordihn opened 1 year ago

MarkusBordihn commented 1 year ago

Mod loader

Forge

Minecraft version

1.19.2

Beyond Earth version

6.3

Modloader version

Forge 1.19.2-43.2.2

The latest.log file

https://pastebin.com/8kmzswYT

Issue description

The client render renderClouds is currently crashing in custom dimension, if they are not a 1:1 copy of the over-world.

Steps to reproduce

  1. Install the mod
  2. Create a custom dimension or use a custom dimension mod
  3. Teleport to the custom dimension

Other information

This issue could be easily fixed by adding null pointer checks and by excluding custom dimension from this renderer.

Lance5057 commented 1 year ago

https://pastebin.com/FSxJ2Pes

Same crash, conflict with Nomadic Tents mod