Blocking minecraft from generating crash report.
SettingDust opened this issue ยท 0 comments
When the game crashing. The Minecraft will try to m_91394_/emergencySave. Which will clean up the level even the game is launching. But SodiumDynamicLights won't care about if the level is valid. Which causing the game can't produce the crash report.
java.lang.NullPointerException: Cannot invoke "toni.sodiumdynamiclights.SodiumDynamicLights.clearLightSources()" because the return value of "toni.sodiumdynamiclights.SodiumDynamicLights.get()" is null
at net.minecraft.client.Minecraft.handler$ihj000$sodiumdynamiclights$onUpdateLevelInEngines(Minecraft.java:30441) ~[client-1.20.1-20230612.114412-srg.jar%23983!/:?]
at net.minecraft.client.Minecraft.m_91324_(Minecraft.java) ~[client-1.20.1-20230612.114412-srg.jar%23983!/:?]
at net.minecraft.client.Minecraft.m_91320_(Minecraft.java:2130) ~[client-1.20.1-20230612.114412-srg.jar%23983!/:?]
at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.cleanupBeforeMinecraft(InGameCatcher.java:54) ~[notenoughcrashes-4.4.7+1.20.1-forge.jar%23842!/:?]
at net.minecraft.client.Minecraft.handler$gml000$notenoughcrashes$beforeCleanUpAfterCrash(Minecraft.java:28514) ~[client-1.20.1-20230612.114412-srg.jar%23983!/:?]
at net.minecraft.client.Minecraft.m_91394_(Minecraft.java) ~[client-1.20.1-20230612.114412-srg.jar%23983!/:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:736) ~[client-1.20.1-20230612.114412-srg.jar%23983!/:?]
at net.minecraft.client.main.Main.main(Main.java:218) ~[minecraft-1.20.1-client.jar:?]