Beyond-Earth icon indicating copy to clipboard operation
Beyond-Earth copied to clipboard

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

Open MarkusBordihn opened this issue 2 years ago • 1 comments

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.

MarkusBordihn avatar Dec 28 '22 22:12 MarkusBordihn

https://pastebin.com/FSxJ2Pes

Same crash, conflict with Nomadic Tents mod

Lance5057 avatar Jan 24 '23 09:01 Lance5057