`ConfigWrapper` shouldn't clinit `Screen`
BasiqueEvangelist opened this issue · 1 comments
Currently, ConfigWrapper clinits ConfigScreen, which clinits Screen because it's its superclass.
Screen has a static RotatingCubeMapRenderer ROTATING_PANORAMA_RENDERER field which is initted in <clinit> and which captures the current MinecraftClient, which if it's early enough in the game will be null. This will cause a NPE later in the runtime.
Fixed as of 0.12.12