
Bug: Crash on 1.21.5 NeoForge
ER-95 opened this issue ยท 2 comments
Describe the bug
Game crashes on load.
The game crashed: initializing game
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.Minecraft.getWindow()" because "eu.midnightdust.midnightcontrols.client.MidnightControlsClient.client" is null
To Reproduce
Steps to reproduce the behavior:
- Install mod
- Launch game
Expected behavior
Mod works
Screenshots
N/A
Desktop (please complete the following information):
Irrelevant
I'm also having the same issue. After updating from 1.21.4 to 1.21.5. Before it was using Fabric API. Now it's using NeoForge; that was the only available option for installation.
I figured out my issue. In CurseForge, if you go to you go to MidnightControls by Motschen and click Versions, there is also a version of MidnightControls for Fabric and Minecraft version 1.21.5. If you load a profile with that, it will work and you'll be able to play the latest version of Minecraft.
But if you need to use NeoForge, you'll still have the issue with MidnightControls.