Skip to content

[Bug] Cannot invoke "net.minecraft.world.level.Level.getLevelData()" because "level" is null when launching #34

@BadPig03

Description

@BadPig03

Minecraft Version

1.21.1

Mod Version

2.1.1, 2.1.2, 2.1.3

Describe the bug!

If I add any Ponder.registry() calls in client_scripts, Minecraft will crash on startup with the error shown in the image.
Image

The client log says "[ERROR] ! java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.Level.getLevelData()" because "level" is null [java.lang.NullPointerException]"

I tried version 2.1.x – only 2.1.0 launches successfully, while ​versions 2.1.1 and later​ crash with the error shown before.

Crash Report

No response

Log

https://pastebin.com/hij8CrLx

Additions and Modifications

Yes

Additions and Modifications Description

No response

Did the issue happen in singleplayer or on a server?

Singleplayer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions