Iris Shaders

Iris Shaders

38M Downloads

A way to disable `MixinWindow.iris$enableDebugContext` mixin

Zensonaton opened this issue ยท 2 comments

commented

Is your feature request related to a problem? Please describe.
My mod MinecraftClientGobrrr forces game to create its window a lot earlier.
The problem is that my mod creates the game window earlier than GameOptions get loaded, so MixinWindow.iris$enableDebugContext causes a crash because Iris.getIrisConfig() is null.

Describe the solution you'd like
A way to disable MixinWindow.iris$enableDebugContext Mixin.

Describe alternatives you've considered
Those were non-Iris related: Load the game options properly, but that caused a lot more problems.

Additional context
why mixins can't mixin into other mixins :(

commented

Would adding a null check suffice?

commented

That would be great!